A framework for LLM-based dialogue system to call different source of external knowledge, considering multiple conplext situcations in practice:
- Do not require any knowledge;
- Require one specific source of knowledge;
- Require multiple sources of knowledges, and they are not independent.
![image](https://private-user-images.githubusercontent.com/26263128/278915302-81e4beda-f563-42d0-94b5-bd283f94f342.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDEzODQsIm5iZiI6MTczOTYwMTA4NCwicGF0aCI6Ii8yNjI2MzEyOC8yNzg5MTUzMDItODFlNGJlZGEtZjU2My00MmQwLTk0YjUtYmQyODNmOTRmMzQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA2MzEyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYyOTFmY2M4MDhhYWM0NWRkZDZjZTg5ZGEwOTBkNDU5OTdhZjFhN2Q1OGE5NGUzNTY1MTlkNmM3ZGQ2YzdkMTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qTmQzdRF9bDX4-5hVbyMRMoFlXJPMbFn7r-CHb3cR30)
ssbuild/chatglm_finetuning#146
ssbuild/chatglm_finetuning#214
@misc{wang2023large,
title={Large Language Models as Source Planner for Personalized Knowledge-grounded Dialogue},
author={Hongru Wang and Minda Hu and Yang Deng and Rui Wang and Fei Mi and Weichao Wang and Yasheng Wang and Wai-Chung Kwan and Irwin King and Kam-Fai Wong},
year={2023},
eprint={2310.08840},
archivePrefix={arXiv},
primaryClass={cs.CL}
}