You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am playing with the vercel ai chatbot template. It allows for openai tool calls to functions. One of the functions is "showStockPrice" which takes three arguments: stock symbol, price, delta. I don't understand where the "price" argument is coming from. Is the LLM just making up a price to pass to the "showStockPrice" function or is the price simulated somewhere in the code? (the price is not correct or looked up in real time)
I removed the system prompt telling the bot to be a "stock trading conversation bot" and it still seems to come up with fictional prices.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am playing with the vercel ai chatbot template. It allows for openai tool calls to functions. One of the functions is "showStockPrice" which takes three arguments: stock symbol, price, delta. I don't understand where the "price" argument is coming from. Is the LLM just making up a price to pass to the "showStockPrice" function or is the price simulated somewhere in the code? (the price is not correct or looked up in real time)
I removed the system prompt telling the bot to be a "stock trading conversation bot" and it still seems to come up with fictional prices.
Thanks for any insight.
Beta Was this translation helpful? Give feedback.
All reactions