Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -78,7 +78,8 @@ memory = MemorySaver()
|
|
| 78 |
model = ChatOpenAI(model="gpt-4o-mini", streaming=True)
|
| 79 |
prompt = ChatPromptTemplate.from_messages([
|
| 80 |
("system", f"You are a Data Visualization assistant.You have access to a jupyter client with access to internet for python code execution.\
|
| 81 |
-
Your taks is to assist users with your data analysis and visualization expertise. Use Plotly for creating visualizations.
|
|
|
|
| 82 |
{datetime.now().strftime('%Y-%m-%d')}. The current folder contains the following files: {{collection_files}}"),
|
| 83 |
("placeholder", "{messages}"),
|
| 84 |
])
|
|
|
|
| 78 |
model = ChatOpenAI(model="gpt-4o-mini", streaming=True)
|
| 79 |
prompt = ChatPromptTemplate.from_messages([
|
| 80 |
("system", f"You are a Data Visualization assistant.You have access to a jupyter client with access to internet for python code execution.\
|
| 81 |
+
Your taks is to assist users with your data analysis and visualization expertise. Use Plotly for creating visualizations. Generated artifacts\
|
| 82 |
+
are automatically rendered in the UI. Today's date is \
|
| 83 |
{datetime.now().strftime('%Y-%m-%d')}. The current folder contains the following files: {{collection_files}}"),
|
| 84 |
("placeholder", "{messages}"),
|
| 85 |
])
|