mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 05:51:59 +00:00
fix: sqlite_vec keyword implementation
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
This commit is contained in:
parent
e2a7022d3c
commit
2060fdba7f
14 changed files with 146 additions and 101 deletions
7
docs/_static/llama-stack-spec.html
vendored
7
docs/_static/llama-stack-spec.html
vendored
|
|
@ -11601,7 +11601,6 @@
|
|||
},
|
||||
"max_chunks": {
|
||||
"type": "integer",
|
||||
<<<<<<< HEAD
|
||||
"default": 5,
|
||||
"description": "Maximum number of chunks to retrieve."
|
||||
},
|
||||
|
|
@ -11609,12 +11608,10 @@
|
|||
"type": "string",
|
||||
"default": "Result {index}\nContent: {chunk.content}\nMetadata: {metadata}\n",
|
||||
"description": "Template for formatting each retrieved chunk in the context. Available placeholders: {index} (1-based chunk ordinal), {chunk.content} (chunk content string), {metadata} (chunk metadata dict). Default: \"Result {index}\\nContent: {chunk.content}\\nMetadata: {metadata}\\n\""
|
||||
=======
|
||||
"default": 5
|
||||
},
|
||||
"mode": {
|
||||
"type": "string"
|
||||
>>>>>>> 1a0433d2 (feat (RAG): Implement configurable search mode in RAGQueryConfig)
|
||||
"type": "string",
|
||||
"description": "Search mode for retrieval—either \"vector\" or \"keyword\"."
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
|
|
|||
5
docs/_static/llama-stack-spec.yaml
vendored
5
docs/_static/llama-stack-spec.yaml
vendored
|
|
@ -8072,7 +8072,6 @@ components:
|
|||
max_chunks:
|
||||
type: integer
|
||||
default: 5
|
||||
<<<<<<< HEAD
|
||||
description: Maximum number of chunks to retrieve.
|
||||
chunk_template:
|
||||
type: string
|
||||
|
|
@ -8087,10 +8086,10 @@ components:
|
|||
placeholders: {index} (1-based chunk ordinal), {chunk.content} (chunk
|
||||
content string), {metadata} (chunk metadata dict). Default: "Result {index}\nContent:
|
||||
{chunk.content}\nMetadata: {metadata}\n"
|
||||
=======
|
||||
mode:
|
||||
type: string
|
||||
>>>>>>> 1a0433d2 (feat (RAG): Implement configurable search mode in RAGQueryConfig)
|
||||
description: >-
|
||||
Search mode for retrieval—either "vector" or "keyword".
|
||||
additionalProperties: false
|
||||
required:
|
||||
- query_generator_config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue