Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ Choose the most appropriate response structure and generate the response directl
|
|
45 |
class AdvancedPdfChatbot:
|
46 |
def __init__(self, openai_api_key):
|
47 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
48 |
-
self.llm = ChatOpenAI(temperature=0.2, model_name='gpt-4o
|
49 |
|
50 |
self.embeddings = OpenAIEmbeddings()
|
51 |
self.text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=200)
|
|
|
45 |
class AdvancedPdfChatbot:
|
46 |
def __init__(self, openai_api_key):
|
47 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
48 |
+
self.llm = ChatOpenAI(temperature=0.2, model_name='gpt-4o')
|
49 |
|
50 |
self.embeddings = OpenAIEmbeddings()
|
51 |
self.text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=200)
|