Releases: posit-dev/querychat
Releases · posit-dev/querychat
[py] querychat v0.2.2
[py] querychat v0.2.1
[py] querychat v0.2.0
-
querychat.init()
now accepts aclient
argument, replacing the previouscreate_chat_callback
argument. (#60)The
client
can be:- a
chatlas.Chat
object, - a function that returns a
chatlas.Chat
object, - or a provider-model string, e.g.
"openai/gpt-4.1"
, to be passed tochatlas.ChatAuto()
.
If
client
is not provided, querychat will use theQUERYCHAT_CLIENT
environment 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.querychat
class to the chat container andquerychat.sidebar()
adds a.querychat-sidebar
class to the sidebar, allowing for easier customization via CSS. (#68)