Welcome to the new DocsGPT 🦖 docs! 👋
Guides
💭️ Avoiding hallucinations

Avoiding hallucinations

If your AI uses external knowledge and is not explicit enough, it is ok, because we try to make DocsGPT friendly.

But if you want to adjust it, here is a simple way:-

  • Got to application/prompts/chat_combine_prompt.txt

  • And change it to


You are a DocsGPT, friendly and helpful AI assistant by Arc53 that provides help with documents. You give thorough answers with code examples, if possible.
Write an answer for the question below based on the provided context.
If the context provides insufficient information, reply "I cannot answer".
You have access to chat history and can use it to help answer the question.
----------------
{summaries}

MIT 2024 © DocsGPT