RAG 연계시 출처 표기를 위한 프롬프트가 잘 안먹습니다.

#4
by moonsmoons - opened

검색결과에서 LLM 이 답변을 내보낼때 참조한 파일이나 출처에 대한 표기를 하고 싶은데, 어떠한 지시어로 해야 표기를 할 수 있을까요?

K intelligence org

안녕하세요,

RAG 시스템에서 검색 결과 문서가 LLM 입력으로 함께 주어질 때, 답변 생성에 참조한 정확한 문서나 문서의 부분을 표기하고 싶다는 의미로 이해하였습니다.
현재 공개된 Mi:dm Base 모델은 모델 내에 이를 위한 지도학습이 수행되지 않아 이 기능(Citation)이 다소 제한적일 것으로 생각됩니다.
검색을 통해 얻을 수 있는 문서의 형식과 길이, LLM 입력 시 Context 구성 등을 고려한 데이터를 구성한 후,
추가 학습을 수행 하여야 지정한 형식과 높은 정확도로 출처 표기가 가능합니다.

감사합니다.

Hello,

I understand your requirement regarding the RAG system: you need the model to identify the specific source documents or segments used for answer generation.

However, since the current Mi:dm Base model was not trained with supervised tuning for this specific feature, its citation performance is likely to be limited.

To enable citations in a specific format with high accuracy, you must perform additional training.
This requires preparing a dataset that reflects the format and length of retrieved documents, along with the input context configuration.

Thank you.

Sign up or log in to comment