We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb87a9 commit 2c741beCopy full SHA for 2c741be
backend/scripts/simple_eval.py
@@ -11,12 +11,10 @@
11
base_url=CONFIG.model_endpoint,
12
)
13
14
-
15
-VECTOR_STORE_ID = os.getenv("VECTOR_STORE_ID")
16
openai_tools = []
17
18
-if VECTOR_STORE_ID:
19
- openai_tools.append({"type": "file_search", "vector_store_ids": [VECTOR_STORE_ID]})
+if CONFIG.vector_store_id is not None:
+ openai_tools.append({"type": "file_search", "vector_store_ids": [CONFIG.vector_store_id]})
20
21
# 1. Load the dataset - updated to use path relative to this script
22
script_dir = os.path.dirname(os.path.abspath(__file__))
0 commit comments