Skip to content

Commit acbe961

Browse files
arturoliduenaviduni94sorenlouv
authored andcommitted
update retrieve_elastic_doc prompt to generate query in English (elastic#222303)
Closes [elastic#233](elastic/obs-ai-assistant-team#233) ## Summary Update `retrieve_elastic_doc` prompt to generate the query always in English, as the documentation is available only in English. Co-authored-by: Viduni Wickramarachchi <[email protected]> Co-authored-by: Søren Louv-Jansen <[email protected]>
1 parent 248dc12 commit acbe961

File tree

1 file changed

+1
-0
lines changed
  • x-pack/solutions/observability/plugins/observability_ai_assistant_app/server/functions

1 file changed

+1
-0
lines changed

x-pack/solutions/observability/plugins/observability_ai_assistant_app/server/functions/documentation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export async function registerDocumentationFunction({
4343
properties: {
4444
query: {
4545
description: `The query to use to retrieve documentation
46+
Always write the query in English, as the documentation is available only in English.
4647
Examples:
4748
- "How to enable TLS for Elasticsearch?"
4849
- "What is Kibana Lens?"`,

0 commit comments

Comments
 (0)