v0.8.0
🔧 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
Agentcomponent now deserializes Tools with the right class and usesdeserialize_tools_inplace. #213 #222
✅ Adopted Experiments
- chore: remove
LLMMetadataExtractorby @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
- chore: remove evaluation harness experiment by @julian-risch in #231
Full Changelog: v0.7.0...v0.8.0