Support answers need to match the policies your team actually publishes. An AnythingLLM support RAG chatbot retrieves passages from your FAQ or helpdesk documents so its replies can use those facts and show their source.

A dedicated workspace keeps the support material together across chat threads. Query mode requires relevant document context before generating an answer; Chat can also draw on the model's general knowledge, and a new workspace starts in Agent mode. A support prompt guides the wording, but it does not guarantee that every generated statement is accurate.

Start with a working chat provider on your AnythingLLM Docker installation, such as the Ollama provider. A small FAQ with known answers makes it easier to check both citations and refusals before adding a larger support library. Embedded passages are available to workspace users and go to the configured chat provider, so only approved support material belongs there.

Steps to build a support RAG chatbot in AnythingLLM:

  1. Create a file named orbit-kettle-support-faq.txt in your text editor with the following contents.
    Orbit Kettle support FAQ (synthetic test document)
    
    Orbit Kettle is a fictional smart kettle sold by the fictional company Lumen Home.
    
    Q: How long is the Orbit Kettle return window?
    A: Orbit Kettle can be returned within 23 days of delivery for a full refund.
    
    Q: What does the amber ring on the Orbit Kettle mean?
    A: A steady amber ring means the descaling cycle is due. Hold the power button for 6 seconds to start descaling.
    
    Q: How do I reach Orbit Kettle support?
    A: Email kettle-help@lumen-home.invalid and quote support code OK-7731. Replies arrive within two business days.

    Orbit Kettle and its support details are fictional. An approved FAQ of your own can replace this file, with matching questions and expected answers for the chat tests.

  2. Click the + button beside Search in AnythingLLM's sidebar.
  3. Enter Orbit Kettle Support in Workspace Name.
  4. Click Save to create the support workspace.
  5. Add orbit-kettle-support-faq.txt to Orbit Kettle Support using the workspace document embedding steps.

    The upload icon beside the workspace name opens the document manager. A file uploaded only to My Documents or attached to a chat is not a workspace RAG source.

  6. Confirm that orbit-kettle-support-faq.txt appears in the workspace's document list after embedding finishes.

    A queued file or an embedding error means the document is not ready for questions. The completed list shows the file with a pin control, and Save and Embed is no longer displayed.

  7. Close the Documents dialog with its upper-right X.

    The dialog scrolls; its close control is at the top.

  8. Open the support workspace's settings with the gear beside its name.
  9. Select the Chat Settings tab.
  10. Select Query under Chat mode.

    The selection saves automatically. Query refuses when retrieval finds no relevant document context; it can still return an incomplete or inaccurate answer when context is found. The default Query mode refusal response is sufficient for this support test.

  11. Replace System Prompt with the following support instructions.
    You are the Orbit Kettle support assistant. Answer only from the supplied support documents. Keep replies brief and cite the source. If the documents do not answer the question, say that the support documents do not contain the answer. Do not invent policies or troubleshooting steps.

    Clicking the prompt text opens its editor. These instructions apply to this workspace; the instance's Default System Prompt is a separate setting for newly created workspaces.

  12. Press Tab to save the support prompt by leaving its editor.
  13. Click New Thread beneath the support workspace.
  14. Enter How many days do I have to return an Orbit Kettle? in Send a message.
  15. Click the send arrow to submit the return question.
  16. Open Sources beneath the completed return answer.

    The answer should state 23 days, and the Sources panel should list orbit-kettle-support-faq.txt. Wording can vary; a different return period or an answer without that source does not establish that the FAQ was used.

  17. Click New Thread for a separate support-code question.
  18. Enter Which support code should I quote when emailing Orbit Kettle support? in Send a message.
  19. Click the send arrow to submit the support-code question.
  20. Open Sources beneath the completed support-code answer.

    The reply should contain OK-7731 and cite orbit-kettle-support-faq.txt. Both support facts must agree with the document before the chatbot is ready for a larger set of questions.

  21. Click New Thread for a question outside the support FAQ.
  22. Enter What is the boiling point of water at sea level in Celsius? in Send a message.
  23. Click the send arrow to submit the unrelated question.
  24. Confirm that the chatbot refuses the unrelated question.

    The default reply is There is no relevant information in this workspace to answer your query. A general-knowledge answer here means the document boundary has not held. Together with the two cited FAQ answers, the refusal shows that this support workspace can answer from its documents and decline a question with no matching context.

Share this guide