All notable changes to Parlant will be documented here.
- Allow returning a new (modified) container in modules
- Improved tool parameter flexibility: custom types, Pydantic models, and annotated ToolParameterOptions
- Added Tool Insights
- Lowered likelihood of the agent hallucinating facts in fluid mode
- Lowered likelihood of the agent offering services that were not specifically mentioned by the business
- Made the agent slightly more polite, following user feedback
- Allow only specifying guideline condition or action when updating guideline from CLI
- Add WebSocket logger feature for streaming logs in real time
- Add a log viewer to the sandbox UI
- Add API and CLI to Fragments
- Changed message inspection to return message event data for displaying more information, such as fragments in the inspection
- Rename Slot (in Fragment) with FragmentField
- Fix loading DeepSeek service during server boot
- Fix ToolCaller not getting clear information on a parameter being optional
- Ensure ToolCaller only calls a tool if all required args were given
- Improve valid JSON generation likelihood in MessageEventGenerator
- Improve ToolCaller's ability to correctly run multiple tools at once
- Add shot creation helper functions under Shot
- Add ContextEvaluation in MessageEventGenerator
- Add a log command under client CLI for streaming logs
- Add engine lifecycle hooks
- Split vendor dependencies to extra packages to avoid reduce installation time
- Modified ToolCaller shot schema
- Disable coherence and connection checking by default in the CLI for now
- Improved GuidelineProposer's ability to handle compound actions
- Improved GuidelineProposer's ability to distinguish between a fulfilled and unfulfilled action
- Improved GuidelineProposer's ability to detect a previously applied guideline's application to new information
- Reduced likelihood of agent offering hallucinated services
- Fix ToolCaller false-negative argument validation from int to float
- Fix ToolCaller accuracy
- Fix ToolCaller making up argument values when it doesn't have them
- Fix some cases where the ToolCaller also calls a less-fitting tool
- Fix mistake in coherence checker few shots
- Fix markdown tables in sandbox UI
- Fix wrong import of RateLimitError
- Fix PluginServer validation for optional tool arguments when they're passed None
- Fix utterances sometimes not producing a message
- Fix server CLI boot
- Fix server CLI boot
- Add DeepSeek provider support (via DeepSeekService)
- Change default home dir from runtime-data to parlant-data
- Fix tool-calling test
- Fix HuggingFace model loading issues
- Upgraded dependency "tiktoken" to 0.8.0 to fix installation errors on some environments
- Fix race condition in JSONFileDocumentDatabase when deleting or updating documents
- Remove tool metadata from prompts - agents are now only aware of the data itself
- Fix tool calling in scenarios where a guideline has multiple tools where more than one should run
- Support custom plugin data for PluginServer
- Allow specifying custom logger ID when creating loggers
- Add 'hosted' parameter to PluginServer, for running inside modules
- Fix the tool caller's few shots to include better rationales and arguments.
- Return event ID instead of correlation ID from utterance API
- Improve and normalize entity update messages in client CLI
- Add manual utterance requests
- Refactor few-shot examples and allow adding more examples from a module
- Allow tapping into the PluginServer FastAPI app to provide additional custom endpoints
- Support for union parameters ("T | None") in tool functions
- Made all stores thread-safe with reader/writer locks
- Reverted GPT version for guideline connection proposer to 2024-08-06
- Changed definition of causal connection to take the source's when statement into account. The connection proposer now assumes the source's condition is true when examining if it entails other guideline.
- Fix 404 not being returned if a tool service isn't found
- Fix having direct calls to asyncio.gather() instead of safe_gather()
- Removed connection kind (entails / suggests) from the guideline connection proposer and all places downstream. the connection_kind argument is no longer needed or supported for all guideline connections.
- Expose deletion flag for events in Session API
- Print traceback when reporting server boot errors
- Make cancelled operations issue a warning rather than an error
- Fixed tool calling with optional parameters
- Fixed sandbox UI issues with message regeneration and status icon
- Fixed case where guideline is applied due to condition being partially applied
None
- Customer selection in sandbox Chat UI
- Support tool calls with freshness rules for context variables
- Add support for loading external modules for changing engine behavior programatically
- CachedSchematicGenerator to run the test suite more quickly
- TransientVectorDatabase to run the test suite more quickly
- Changed model path for Chroma documents. You may need to delete your
runtime-data
dir.
- Improve handling of partially fulfilled guidelines
None