Skip to content

v0.8.0

Choose a tag to compare

@julian-risch julian-risch released this 11 Mar 14:32
· 103 commits to main since this release
06b9833

🔧 Updates to Experiments

Stream ChatGenerator responses with Agent

The Agent component now allows setting a streaming callback at init and run time. This way, an Agent's response can be streamed in chunks, enabling faster feedback for developers and end users. #233

agent = Agent(chat_generator=chat_generator, tools=[weather_tool])
response = agent.run([ChatMessage.from_user("Hello")], streaming_callback=streaming_callback)

🐛 Bug Fixes

  • We fixed a bug that prevented ComponentTool to work with Jinja2-based components (PromptBuilder, ChatPromptBuilder, ConditionalRouter, OutputAdapter). #234
  • The Agent component now deserializes Tools with the right class and uses deserialize_tools_inplace. #213 #222

✅ Adopted Experiments

  • chore: remove LLMMetadataExtractor by @davidsbatista in #227
  • chore: Remove some missed utility functions from previous experiments by @sjrl in #232
  • chore: removing async version of InMemoryDocumentStore, DocumentWriter, OpenAIChatGenerator, InMemory Retrievers by @davidsbatista in #220
  • chore: remove pipeline experiments by @mathislucka in #214

🛑 Discontinued Experiments

Full Changelog: v0.7.0...v0.8.0