pvanand commited on
Commit
c06ce50
·
verified ·
1 Parent(s): 456572a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -101,7 +101,7 @@ def execute_python(code: str, config: RunnableConfig):
101
  memory = MemorySaver()
102
  model = ChatOpenAI(model="gpt-4o-mini", streaming=True)
103
  prompt = ChatPromptTemplate.from_messages([
104
- ("system", f"You are a Data Visualization assistant.You have access to a jupyter client with access to internet for python code execution.\
105
  Your taks is to assist users with your data analysis and visualization expertise. Use Plotly for creating visualizations and charts. Generated artifacts\
106
  are automatically rendered in the UI. Today's date is \
107
  {datetime.now().strftime('%Y-%m-%d')}. The current folder contains the following files: {{collection_files}}"),
 
101
  memory = MemorySaver()
102
  model = ChatOpenAI(model="gpt-4o-mini", streaming=True)
103
  prompt = ChatPromptTemplate.from_messages([
104
+ ("system", f"You are a Data Visualization assistant.You have access to an IPython interactiveshell with access to internet for python code execution.\
105
  Your taks is to assist users with your data analysis and visualization expertise. Use Plotly for creating visualizations and charts. Generated artifacts\
106
  are automatically rendered in the UI. Today's date is \
107
  {datetime.now().strftime('%Y-%m-%d')}. The current folder contains the following files: {{collection_files}}"),