-
Notifications
You must be signed in to change notification settings - Fork 698
Expand file tree
/
Copy pathconfig_retrieval.yaml
More file actions
128 lines (114 loc) · 3.81 KB
/
Copy pathconfig_retrieval.yaml
File metadata and controls
128 lines (114 loc) · 3.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
write_endpoint: qdrant_local
endpoints:
#Azure endpoints
nlweb_west:
enabled: true
api_key_env: NLWEB_WEST_API_KEY
api_endpoint_env: NLWEB_WEST_ENDPOINT
index_name: embeddings1536
db_type: azure_ai_search
# Bing Web Search API for real-time web search
bing_search:
enabled: false
# API key for Bing Web Search API
api_key_env: BING_API_KEY
# Bing API endpoint (optional, defaults to standard Bing API)
api_endpoint_env: BING_API_ENDPOINT
# Index name (not used for Bing, but kept for consistency)
index_name: web_search
# Database type
db_type: bing_search
cloudflare_autorag:
enabled: false
api_key_env: CLOUDFLARE_API_TOKEN
api_endpoint_env: CLOUDFLARE_AUTORAG_ENDPOINT
index_name: CLOUDFLARE_RAG_ID_ENV
db_type: cloudflare_autorag
elasticsearch:
enabled: false
# Elasticsearch endpoint (localhost or remote URL with Elastic Cloud/Serverless)
api_endpoint_env: ELASTICSEARCH_URL
# Authentication credentials
api_key_env: ELASTICSEARCH_API_KEY
# Index name to search in
index_name: nlweb_embeddings
# Database type
db_type: elasticsearch
# Vector properties
vector_type:
type: dense_vector
index_options:
type: int8_hnsw # byte quantization for efficient storage
# Milvus is still under development and not yet supported.
milvus:
enabled: false
api_endpoint_env: MILVUS_ENDPOINT
api_key_env: MILVUS_TOKEN
index_name: nlweb_collection
db_type: milvus
opensearch_knn:
enabled: false
# OpenSearch with k-NN plugin enabled (faster, native vector search)
api_endpoint_env: OPENSEARCH_ENDPOINT
# Authentication credentials (username:password for basic auth, or API key)
api_key_env: OPENSEARCH_CREDENTIALS
# Index name to search in
index_name: embeddings
# Database type
db_type: opensearch
# Use k-NN plugin for vector search
use_knn: true
opensearch_script:
enabled: false
# OpenSearch without k-NN plugin (fallback using script_score)
api_endpoint_env: OPENSEARCH_ENDPOINT
# Authentication credentials (username:password for basic auth, or API key)
api_key_env: OPENSEARCH_CREDENTIALS
# Index name to search in
index_name: embeddings
# Database type
db_type: opensearch
# Use script_score for vector similarity (slower but works without plugins)
use_knn: false
postgres:
enabled: false
# Database connection details (i.e. "postgresql://<HOST>:<PORT>/<DATABASE>?user=<USERNAME>&sslmode=require")
api_endpoint_env: POSTGRES_CONNECTION_STRING
# Password for authentication
api_key_env: POSTGRES_PASSWORD
# Index name to search in
index_name: documents
# Specify the database type
db_type: postgres
# Option 1: Local file-based Qdrant storage
qdrant_local:
enabled: true
# Use local file-based storage with a specific path
database_path: "../data/db"
# Set the collection name to use
index_name: nlweb_collection
# Specify the database type
db_type: qdrant
# Option 2: Remote Qdrant server
qdrant_url:
enabled: false
# Connect to a Qdrant server at a specific URL
api_endpoint_env: QDRANT_URL
# Optional API key for authentication
api_key_env: QDRANT_API_KEY
# Set the collection name to use
index_name: nlweb_collection
# Specify the database type
db_type: qdrant
# Shopify MCP endpoint for product search across Shopify stores
shopify:
enabled: true
db_type: shopify_mcp
# Note: mcp_endpoint will be dynamically set based on the site being queried
name: Shopify MCP Search
snowflake_cortex_search_1:
enabled: false
api_key_env: SNOWFLAKE_PAT
api_endpoint_env: SNOWFLAKE_ACCOUNT_URL
index_name: SNOWFLAKE_CORTEX_SEARCH_SERVICE
db_type: snowflake_cortex_search