Spaces:
Sleeping
Sleeping
Update config.py
Browse filesAdding a new variable for vectara-agentic 2.1
config.py
CHANGED
@@ -5,8 +5,7 @@ load_dotenv(override=True)
|
|
5 |
|
6 |
def get_agent_config() -> OmegaConf:
|
7 |
cfg = OmegaConf.create({
|
8 |
-
'
|
9 |
-
'corpus_id': str(os.environ['VECTARA_CORPUS_ID']),
|
10 |
'api_key': str(os.environ['VECTARA_API_KEY'])
|
11 |
})
|
12 |
return cfg
|
|
|
5 |
|
6 |
def get_agent_config() -> OmegaConf:
|
7 |
cfg = OmegaConf.create({
|
8 |
+
'corpus_key': str(os.environ['VECTARA_CORPUS_KEY']),
|
|
|
9 |
'api_key': str(os.environ['VECTARA_API_KEY'])
|
10 |
})
|
11 |
return cfg
|