Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions solutions/search/rag/playground-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,30 @@
mapped_pages:
- https://www.elastic.co/guide/en/kibana/current/playground-context.html
applies_to:
stack:
serverless:
stack: preview 9.0, beta 9.1
serverless: beta
products:
- id: kibana
---

# Optimize model context [playground-context]

::::{warning}
This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
::::


Context is the information you provide to the LLM, to optimize the relevance of your query results. Without additional context, an LLM will generate results solely based on its training data. In Playground, this additional context is the information contained in your {{es}} indices.

There are a few ways to optimize this context for better results. Some adjustments can be made directly in the Playground UI. Others require refining your indexing strategy, and potentially reindexing your data.

::::{note}
Currently you can only select **one field** to be provided as context to the LLM.
:applies_to: stack: preview 9.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(likely dumb question) Is this note always shown but with a badge? essentially saying this only applies to 9.0?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are no dumb questions and the answer is yes :)

can check preview here: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3456/solutions/search/rag/playground-context

(all docs PRs generated previews once docs-build passes: #3456 (comment))


Only **one field** can be selected as context for the LLM.
::::



## Edit context in UI [playground-context-ui]
## Edit context in UI [playground-context-ui]
```{applies_to}
stack: preview 9.0.0, unavailable 9.1.0
```

Use the **Playground context** section in the Playground UI to adjust the number of documents and fields sent to the LLM.

Expand Down
9 changes: 2 additions & 7 deletions solutions/search/rag/playground-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,14 @@
mapped_pages:
- https://www.elastic.co/guide/en/kibana/current/playground-query.html
applies_to:
stack:
serverless:
stack: preview 9.0, beta 9.1
serverless: beta
products:
- id: kibana
---

# View and modify queries [playground-query]

::::{warning}
This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
::::


Once you’ve set up your chat interface, you can start chatting with the model. Playground will automatically generate {{es}} queries based on your questions, and retrieve the most relevant documents from your {{es}} indices. The Playground UI enables you to view and modify these queries.

* Select the **Query** tab to open the visual query editor.
Expand Down
9 changes: 2 additions & 7 deletions solutions/search/rag/playground-troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@ navigation_title: Troubleshooting
mapped_pages:
- https://www.elastic.co/guide/en/kibana/current/playground-troubleshooting.html
applies_to:
stack:
serverless:
stack: preview 9.0, beta 9.1
serverless: beta
products:
- id: kibana
---

# Troubleshooting RAG Playground [playground-troubleshooting]

::::{warning}
This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
::::


Dense vectors are not searchable
: Embeddings must be generated using the [inference processor](elasticsearch://reference/enrich-processor/inference-processor.md) with an ML node.

Expand Down
6 changes: 4 additions & 2 deletions solutions/search/rag/playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ To use Playground, you’ll need the following:

3. An account with a **supported LLM provider**. Playground supports the following:

* **Elastic**
* [Elastic Managed LLM](kibana://reference/connectors-kibana/elastic-managed-llm.md)

* **Amazon Bedrock**

* Anthropic: Claude 3.5 Sonnet
Expand All @@ -92,8 +95,7 @@ To use Playground, you’ll need the following:

* **Google**

* Google Gemini 1.5 Pro
* Google Gemini 1.5 Flash
* Google Gemini 2.5 Pro

::::{tip}
:name: playground-local-llms
Expand Down