Skip to content

[py] querychat v0.2.0

Choose a tag to compare

@gadenbuie gadenbuie released this 02 Sep 15:40
· 20 commits to main since this release
53ee1f6
  • querychat.init() now accepts a client argument, replacing the previous create_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 to chatlas.ChatAuto().

    If client is not provided, querychat will use the QUERYCHAT_CLIENT environment variable, which should be a provider-model string. If the envvar is not set, querychat uses OpenAI with the default model from chatlas.ChatOpenAI().

  • querychat.ui() now adds a .querychat class to the chat container and querychat.sidebar() adds a .querychat-sidebar class to the sidebar, allowing for easier customization via CSS. (#68)