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
The python prompt currently doesn't have any knowledge of ui.Chat() or chatlas. This was noticed by Ferit:
I've noticed the shinyassistant is having trouble creating an LLM chat application in Python. I am not sure what the problem is, but I am wondering if it doesn't know about the ui.Chat component. Here is my prompt:
Please create a basic application that provides a chat interface to talk to an LLM. Please use the ui.Chat component.
Here is the result: https://shinylive.io/py/editor/#code=NobwRAdghgtgpmAXGKAHVA6VBPMAaMAYwHsIAXOcpMAMwCdiYAC[…]IMgNsyMfD8OoGNeexjHWeprPLF1qUMdAxTEVA3CMUwOC5RkNGpMAHyVIA
Asking it to fix the error messages makes things increasingly worse. Replacing the ui.chat(...) with ui.Chat() makes it complain: RuntimeError: Chat() must be called from within an active Shiny session.
The text was updated successfully, but these errors were encountered:
The python prompt currently doesn't have any knowledge of
ui.Chat()
orchatlas
. This was noticed by Ferit:The text was updated successfully, but these errors were encountered: