[py] querychat v0.2.0
-
querychat.init()now accepts aclientargument, replacing the previouscreate_chat_callbackargument. (#60)The
clientcan be:- a
chatlas.Chatobject, - a function that returns a
chatlas.Chatobject, - or a provider-model string, e.g.
"openai/gpt-4.1", to be passed tochatlas.ChatAuto().
If
clientis not provided, querychat will use theQUERYCHAT_CLIENTenvironment variable, which should be a provider-model string. If the envvar is not set, querychat uses OpenAI with the default model fromchatlas.ChatOpenAI(). - a
-
querychat.ui()now adds a.querychatclass to the chat container andquerychat.sidebar()adds a.querychat-sidebarclass to the sidebar, allowing for easier customization via CSS. (#68)