mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-19 19:49:40 +00:00
[feat]: Add search_mode support to OpenAI vector store API
Add search_mode parameter (vector/keyword/hybrid) to openai_search_vector_store method. Fixes OpenAPI code generation by using str instead of Literal type. Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
This commit is contained in:
parent
114946ae88
commit
0fa64ac762
9 changed files with 42 additions and 4 deletions
4
docs/_static/llama-stack-spec.html
vendored
4
docs/_static/llama-stack-spec.html
vendored
|
|
@ -13943,6 +13943,10 @@
|
|||
"rewrite_query": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to rewrite the natural language query for vector search (default false)"
|
||||
},
|
||||
"search_mode": {
|
||||
"type": "string",
|
||||
"description": "The search mode to use - \"keyword\", \"vector\", or \"hybrid\" (default \"vector\")"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
|
|
|||
4
docs/_static/llama-stack-spec.yaml
vendored
4
docs/_static/llama-stack-spec.yaml
vendored
|
|
@ -9737,6 +9737,10 @@ components:
|
|||
description: >-
|
||||
Whether to rewrite the natural language query for vector search (default
|
||||
false)
|
||||
search_mode:
|
||||
type: string
|
||||
description: >-
|
||||
The search mode to use - "keyword", "vector", or "hybrid" (default "vector")
|
||||
additionalProperties: false
|
||||
required:
|
||||
- query
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue