Skip to content

Commit e67dcde

Browse files
DH-5775/removing the LLM Model from env vars
1 parent d4d6f4e commit e67dcde

File tree

5 files changed

+0
-10
lines changed

5 files changed

+0
-10
lines changed

Diff for: .env.example

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Openai info. All these fields are required for the engine to work.
22
OPENAI_API_KEY = #This field is required for the engine to work.
33
ORG_ID =
4-
# what is the LLM model to be used
5-
LLM_MODEL = "gpt-4-turbo-preview"
64

75
# All of our SQL generation agents are using different tools to generate SQL queries, in order to limit the number of times that agents can
86
# use different tools you can set the "AGENT_MAX_ITERATIONS" env variable. By default it is set to 20 iterations.

Diff for: .test.env

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ SQL_GENERATOR='dataherald.tests.sql_generator.test_generator.TestGenerator'
22
EVALUATOR='dataherald.tests.evaluator.test_eval.TestEvaluator'
33
DB='dataherald.tests.db.test_db.TestDB'
44
OPENAI_API_KEY='foo'
5-
LLM_MODEL='gpt_test'
65
PINECONE_API_KEY='foo2'
76
PINECONE_ENVIRONMENT='bar'
87
GOLDEN_RECORD_COLLECTION='bar2'

Diff for: README.md

-4
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,10 @@ cp .env.example .env
6868

6969
Specifically the following fields must be manually set before the engine is started.
7070

71-
LLM_MODEL is employed by the engine to generate SQL from natural language. You can use the default model (gpt-4-turbo-preview) or use your own deployed model.
72-
7371
```
7472
#OpenAI credentials and model
7573
# mainly used for embedding models and finetunung
7674
OPENAI_API_KEY =
77-
# Used for the reasoning LLM or the main LLM which chooses the tools to generate SQL
78-
LLM_MODEL =
7975
ORG_ID =
8076
8177
#Encryption key for storing DB connection data in Mongo

Diff for: docs/envars.rst

-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ provided in the .env.example file with the default values.
88
99
OPENAI_API_KEY =
1010
ORG_ID =
11-
LLM_MODEL = 'gpt-4-turbo-preview'
1211
1312
1413
GOLDEN_RECORD_COLLECTION = 'my-golden-records'
@@ -51,7 +50,6 @@ provided in the .env.example file with the default values.
5150

5251
"OPENAI_API_KEY", "The OpenAI key used by the Dataherald Engine", "None", "Yes"
5352
"ORG_ID", "The OpenAI Organization ID used by the Dataherald Engine", "None", "Yes"
54-
"LLM_MODEL", "The Language Model used by the Dataherald Engine. Supported values include gpt-4-32k, gpt-4, gpt-3.5-turbo, gpt-3.5-turbo-16k", "``gpt-4-32k``", "No"
5553
"GOLDEN_RECORD_COLLECTION", "The name of the collection in Mongo where golden records will be stored", "``my-golden-records``", "No"
5654
"PINECONE_API_KEY", "The Pinecone API key used", "None", "Yes if using the Pinecone vector store"
5755
"PINECONE_ENVIRONMENT", "The Pinecone environment", "None", "Yes if using the Pinecone vector store"

Diff for: docs/quickstart.rst

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ The following environment variables must be set manually before the engine is st
1717
1818
#OpenAI credentials and model
1919
OPENAI_API_KEY =
20-
LLM_MODEL =
2120
ORG_ID =
2221
2322
#Encryption key for storing DB connection data in Mongo

0 commit comments

Comments
 (0)