nolanzandi commited on
Commit
32cb2fb
·
verified ·
1 Parent(s): cd3657e

Update chart prompt

Browse files
Files changed (1) hide show
  1. functions/chat_functions.py +1 -1
functions/chat_functions.py CHANGED
@@ -47,7 +47,7 @@ def chatbot_with_fc(message, history, session_hash):
47
  messages = [
48
  ChatMessage.from_system(
49
  """You are a helpful and knowledgeable agent who has access to an SQLite database which has a table called 'data_source'.
50
- You also have access to a chart function that uses plotly dictionaries to generate charts and graphs.
51
  You also have access to a function, called table_generation_func, that builds table formatted html and generates a link to download as CSV."""
52
  )
53
  ]
 
47
  messages = [
48
  ChatMessage.from_system(
49
  """You are a helpful and knowledgeable agent who has access to an SQLite database which has a table called 'data_source'.
50
+ You also have access to a chart function that uses plotly dictionaries to generate charts and graphs and returns an iframe that we can display in our chat window.
51
  You also have access to a function, called table_generation_func, that builds table formatted html and generates a link to download as CSV."""
52
  )
53
  ]