Skip to content

chatlas 0.15.1

Choose a tag to compare

@cpsievert cpsievert released this 22 Jan 22:51
· 3 commits to main since this release

New features

  • .stream() and .stream_async() now support a data_model parameter for structured data extraction while streaming. (#262)
  • .to_solver() now supports a data_model parameter for structured data extraction in evals. When provided, the solver uses .chat_structured() instead of .chat() and outputs JSON-serialized data. (#264)

Bug fixes

  • Fixed ContentToolResult with an error not being JSON serializable. When a tool call failed, calling .get_turns() followed by .model_dump_json() would raise a PydanticSerializationError. (#267)