Spaces:
Running
Running
Update LegalBot.py
Browse files- LegalBot.py +0 -1
LegalBot.py
CHANGED
@@ -22,7 +22,6 @@ file2 = "./data/INHERITANCE.txt"
|
|
22 |
# Function to initialize the OpenAI embeddings and model
|
23 |
def openai_setting():
|
24 |
embedding = OpenAIEmbeddings()
|
25 |
-
# model_name = "gpt-3.5-turbo"
|
26 |
model_name = "gpt-4o-mini"
|
27 |
llm = ChatOpenAI(model_name=model_name, temperature=0)
|
28 |
return embedding, llm
|
|
|
22 |
# Function to initialize the OpenAI embeddings and model
|
23 |
def openai_setting():
|
24 |
embedding = OpenAIEmbeddings()
|
|
|
25 |
model_name = "gpt-4o-mini"
|
26 |
llm = ChatOpenAI(model_name=model_name, temperature=0)
|
27 |
return embedding, llm
|