feat: Fix support for stock chart and details queries in system message
This commit is contained in:
parent
60f25ba855
commit
76ac9d145b
@ -61,6 +61,7 @@ DO's:
|
||||
- For queries about finding a specific place, use the find_place tool. Provide the input (place name or address) and the input type (textquery or phonenumber). Then, compose your response based on the search results.
|
||||
- For text-based searches of places, use the text_search tool. Provide the query, location (optional), and radius (optional). Then, compose your response based on the search results.
|
||||
- For text translation queries, use the text_translate tool. Provide the text to translate, the language to translate to, and the source language (optional). Then, compose your response based on the translated text.
|
||||
- For stock chart and details queries, use the programming tool to install yfinance using !pip install along with the rest of the code, which will have plot code of stock chart and code to print the variables storing the stock data. Then, compose your response based on the output of the code execution.
|
||||
|
||||
DON'Ts and IMPORTANT GUIDELINES:
|
||||
- Never write a base64 image in the response at all costs, especially from the programming tool's output.
|
||||
@ -70,7 +71,6 @@ DON'Ts and IMPORTANT GUIDELINES:
|
||||
- If asked for multiple plots, make it happen in one run of the tool. The tool will automatically capture the plots and display them in the response.
|
||||
- the web search may return an incorrect latex format, please correct it before using it in the response. Check the Latex in Markdown rules for more information.
|
||||
- The location search tools return images in the response, please do not include them in the response at all costs.
|
||||
- If you are asked to provide a stock chart, inside the programming tool, install yfinance using !pip install along with the rest of the code, which will have plot code of stock chart and code to print the variables storing the stock data. Then, compose your response based on the output of the code execution.
|
||||
- Never run web_search tool for stock chart queries at all costs.
|
||||
|
||||
## Programming Tool Guidelines:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user