Skip to content

Commit 04c0494

Browse files
authored
Merge branch 'main' into szabosteve/ai-assistant-up-elastic-mllm
2 parents 25ff56f + 761d2b1 commit 04c0494

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

solutions/observability/observability-ai-assistant.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,30 @@ After creating the pipeline, complete the following steps:
197197

198198
Ask something to the AI Assistant related with the indexed data.
199199

200+
### Add user-specific system prompts
201+
202+
User-specific prompts customize how the AI assistant responds by appending personalized instructions to built-in system prompts. For example, you could specify "Always respond in French," and all subsequent responses will be in French.
203+
204+
A user-specific prompt only applies to the user that sets it.
205+
206+
To edit the **User-specific System Prompt**:
207+
208+
1. Go to the **{{obs-ai-assistant}}** management page. You can find it in the **Management** menu or by using the [global search field](/explore-analyze/find-and-organize/find-apps-and-objects.md).
209+
3. Switch to the **Knowledge base** tab.
210+
4. Select **Edit User-specific Prompt**.
211+
212+
#### User-specific prompt example
213+
User-specific prompts are useful when configuring specific workflows. For example, if you want the assistant to respond in a consistent, readable format when asked about Kubernetes metadata, you might add the following **user-specific system prompt**:
214+
215+
```
216+
<kubernetes_info>
217+
If asked about a Kubernetes pod, namespace, cluster, location, or owner, return the info in this format. Use the field names to find the relevant information requested. Don't mention the field names, just the results.
218+
- Pod: agent.name
219+
- Namespace: data_stream.namespace
220+
- Cluster Name: orchestrator.cluster.name
221+
- Owner: cloud.account.id
222+
</kubernetes_info>
223+
```
200224
201225
## Interact with the AI Assistant [obs-ai-interact]
202226

0 commit comments

Comments
 (0)