Update app.py
Browse files
app.py
CHANGED
|
@@ -131,6 +131,17 @@ Examples:
|
|
| 131 |
- For "show me purchase orders": CALL_TOOL: get_purchase_orders
|
| 132 |
- For "get 20 purchase orders": CALL_TOOL: get_purchase_orders(top=20)
|
| 133 |
- For "latest tech news": CALL_TOOL: get_news_headlines(category=technology)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
|
| 135 |
After calling a tool, I will provide you with the results to interpret for the user.
|
| 136 |
"""
|
|
|
|
| 131 |
- For "show me purchase orders": CALL_TOOL: get_purchase_orders
|
| 132 |
- For "get 20 purchase orders": CALL_TOOL: get_purchase_orders(top=20)
|
| 133 |
- For "latest tech news": CALL_TOOL: get_news_headlines(category=technology)
|
| 134 |
+
- For "get news from BBC": CALL_TOOL: get_news_by_source(source_id=bbc-news)
|
| 135 |
+
- For "get news from CNN": CALL_TOOL: get_news_by_source(source_id=cnn)
|
| 136 |
+
- For "get news from Reuters": CALL_TOOL: get_news_by_source(source_id=reuters)
|
| 137 |
+
|
| 138 |
+
IMPORTANT: For news by source queries, always include the source_id parameter:
|
| 139 |
+
- BBC: source_id=bbc-news
|
| 140 |
+
- CNN: source_id=cnn
|
| 141 |
+
- Reuters: source_id=reuters
|
| 142 |
+
- Associated Press: source_id=associated-press
|
| 143 |
+
- The Guardian: source_id=the-guardian
|
| 144 |
+
- Washington Post: source_id=the-washington-post
|
| 145 |
|
| 146 |
After calling a tool, I will provide you with the results to interpret for the user.
|
| 147 |
"""
|