Agent framework and applications built upon Qwen>=2.0, featuring Function Calling, Code Interpreter, RAG, and Chrome extension.
3.42k
stars
338
forks
source link
How to make LLM answer with provided document files only #350
Open
shao77622 opened 1 month ago
I use prompt like
system = ("Answer the question using the given document only" "If question do not appear in the given document, just answer with 'I don't know'.")
but If I ask with any thing do not provided in the file, LLM will output the pretrained result.