Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request]: Obs AI Assistant supports other models than ELSER when field type semantic_text is used #4608

Open
sorenlouv opened this issue Dec 2, 2024 · 2 comments · May be fixed by #4754
Open

Comments

@sorenlouv
Copy link
Member

sorenlouv commented Dec 2, 2024

Description

The Use search connectors currently states that Elser must be used in order for the AI Assistant to support it.

Since version 8.17, we now support querying search connectors using the semantic_text field. This update allows users to:

  1. Choose their preferred embedding model: Users can opt for models like e5 (multilingual) instead of being limited to ELSER
  2. Incorporate custom indices: Users can create their own indices and include them in the knowledge base. This can be configured using the UI setting observability:aiAssistantSearchConnectorIndexPattern. In this case they can also use any model they want, as long as they use semantic_text

Resources

Which documentation set does this change impact?

Stateful and Serverless

Feature differences

This feature is identical in serverless and stateful

What release is this request related to?

8.17

Collaboration model

The documentation team

Point of contact.

Main contact: @mdbirnstiehl @dedemorton
Stakeholders: @sorenlouv @teknogeek0

@mdbirnstiehl
Copy link
Contributor

mdbirnstiehl commented Jan 8, 2025

Hi @sorenlouv, just looking through this issue and the linked PRs and want to verify:

Is this correct? By default, all indexes associated with a connector are queried, but users would use the observability:aiAssistantSearchConnectorIndexPattern setting to limit the index patterns are queried?

@sorenlouv sorenlouv changed the title [Request]: Obs AI Assistant now supports other models than Elser when field type semantic_text is used [Request]: Obs AI Assistant supports other models than Elser when field type semantic_text is used Jan 9, 2025
@sorenlouv sorenlouv changed the title [Request]: Obs AI Assistant supports other models than Elser when field type semantic_text is used [Request]: Obs AI Assistant supports other models than ELSER when field type semantic_text is used Jan 9, 2025
@sorenlouv
Copy link
Member Author

sorenlouv commented Jan 9, 2025

Is this correct? By default, all indexes associated with a connector are queried, but users would use the observability:aiAssistantSearchConnectorIndexPattern setting to limit the index patterns are queried?

Users don't need to change observability:aiAssistantSearchConnectorIndexPattern. If they setup a search connector that has semantic_text fields we will query it, and use the model the user decided on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants