---
title: Troubleshooting RAG Playground
description: 
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/solutions/search/rag/playground-troubleshooting
products:
  - Kibana
---

# Troubleshooting RAG Playground
<definitions>
  <definition term="Dense vectors are not searchable">
    Embeddings must be generated using the [inference processor](https://docs-v3-preview.elastic.dev/elastic/elasticsearch/tree/main/reference/enrich-processor/inference-processor) with an ML node.
  </definition>
  <definition term="Context length error">
    You’ll need to adjust the size of the context you’re sending to the model. Refer to [Optimize model context](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/solutions/search/rag/playground-context).
  </definition>
  <definition term="LLM credentials not working">
    Under **LLM settings**, use the `wrench` button to edit your GenAI connector settings.
  </definition>
  <definition term="Poor answer quality">
    Check the retrieved documents to see if they are valid. Adjust your Elasticsearch queries to improve the relevance of the documents retrieved. Refer to [View and modify queries](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/solutions/search/rag/playground-query).
    You can update the initial instructions to be more detailed. This is called *prompt engineering*. Refer to this [OpenAI guide](https://platform.openai.com/docs/guides/prompt-engineering) for more information.
    You might need to click **⟳ Clear chat** to clear chat history and start a new conversation. If you mix topics, the model will find it harder to generate relevant responses.
  </definition>
</definitions>