mistral cannot format the output

#81
by raynWest - opened

if i write the prompt like this:"Always include a ‘SOURCES: source1, source2, …’ section in the final answer, replacing ‘source1, source2, …’ with source information of the documents you referenced.", mistral will list the soucres like the following:
sources:
-***
-***

I am using LangChain for retrieval QA with source, and I am using Mistral as an LLM. However, I found that I cannot specify the output format of the source, as I mentioned above. Can Mistral do such a thing, and what kind of prompt should I use?

I am also using LangChain for retrieval QA with Mistral 7B and it ignores my request of formatting the answer in Markdown.

Sign up or log in to comment