Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1607,10 +1607,6 @@ Use **all TrustBuilders®** in the content and make it longer.
|
|
| 1607 |
- List of TrustBuilders® Used : list minimum 9 top scoring statements retrieved
|
| 1608 |
- Heuristics Used: List 3-5 relevant heuristics.
|
| 1609 |
- Creative Techniques Used: Highlight creative approaches used.
|
| 1610 |
-
|
| 1611 |
-
#### **GENERAL QUERIES**
|
| 1612 |
-
- For blogs or reports, refer to the knowledge base first. Focus on overall flow and structure without mentioning trust metrics unless requested.
|
| 1613 |
-
|
| 1614 |
"""
|
| 1615 |
|
| 1616 |
|
|
@@ -1626,7 +1622,7 @@ prompt_template = ChatPromptTemplate.from_messages(
|
|
| 1626 |
|
| 1627 |
# Create Langchain Agent with specific model and temperature
|
| 1628 |
try:
|
| 1629 |
-
llm = ChatOpenAI(model="gpt-4o", temperature=0.
|
| 1630 |
llm_with_tools = llm.bind_tools(tools)
|
| 1631 |
except Exception as e:
|
| 1632 |
logger.error(f"Error creating Langchain Agent: {e}")
|
|
|
|
| 1607 |
- List of TrustBuilders® Used : list minimum 9 top scoring statements retrieved
|
| 1608 |
- Heuristics Used: List 3-5 relevant heuristics.
|
| 1609 |
- Creative Techniques Used: Highlight creative approaches used.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1610 |
"""
|
| 1611 |
|
| 1612 |
|
|
|
|
| 1622 |
|
| 1623 |
# Create Langchain Agent with specific model and temperature
|
| 1624 |
try:
|
| 1625 |
+
llm = ChatOpenAI(model="gpt-4o", temperature=0.4)
|
| 1626 |
llm_with_tools = llm.bind_tools(tools)
|
| 1627 |
except Exception as e:
|
| 1628 |
logger.error(f"Error creating Langchain Agent: {e}")
|