Update chart prompt
Browse files
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 |
]
|