Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1489,7 +1489,7 @@ prompt_template = ChatPromptTemplate.from_messages([
|
|
| 1489 |
# Create Langchain Agent
|
| 1490 |
llm = ChatOpenAI(
|
| 1491 |
model="gpt-4o",
|
| 1492 |
-
temperature=0.
|
| 1493 |
max_tokens=3000, # Ensure sufficient output length
|
| 1494 |
top_p=0.85, # Focused outputs
|
| 1495 |
frequency_penalty=0.1, # Minimize repetition
|
|
|
|
| 1489 |
# Create Langchain Agent
|
| 1490 |
llm = ChatOpenAI(
|
| 1491 |
model="gpt-4o",
|
| 1492 |
+
temperature=0.6, # Balanced creativity and adherence
|
| 1493 |
max_tokens=3000, # Ensure sufficient output length
|
| 1494 |
top_p=0.85, # Focused outputs
|
| 1495 |
frequency_penalty=0.1, # Minimize repetition
|