mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 02:03:44 +00:00
feat: Actualize query rewrite in search API
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com> adding query expansion model to vector store config Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
dabebdd230
commit
61a4738a12
20 changed files with 7381 additions and 0 deletions
|
|
@ -279,5 +279,13 @@ vector_stores:
|
|||
default_embedding_model:
|
||||
provider_id: sentence-transformers
|
||||
model_id: nomic-ai/nomic-embed-text-v1.5
|
||||
query_expansion_prompt: 'Expand this query with relevant synonyms and related terms.
|
||||
Return only the improved query, no explanations:
|
||||
|
||||
|
||||
{query}
|
||||
|
||||
|
||||
Improved query:'
|
||||
safety:
|
||||
default_shield_id: llama-guard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue