Status
Learn about the different status states in Hydra AI conversations.
Hydra AI provides human readable status updates about its process finding the right infomration and UI to help your end users.
You can expose that status to your users so they know what their AI assistant is doing.
Process Status
The core status system is represented by the ProcessStatus
type:
State Types
evaluating
- AI is analyzing the input or contexttools
- AI is using tools to perform operationsgenerating
- AI is generating a responsecomplete
- Operation has finished successfullyerror
- An error occurred during processing
Message Streaming
Hydra provides streaming state management for messages:
Validation State
The validation state tracks the validity and completeness of streamed data:
Usage Examples
Checking Message Status
Working with Message Streaming
Handling Message Validation
The streaming and validation systems work together to provide real-time updates while ensuring message integrity. The validation state helps you understand which parts of your message are safe to use, even before the stream is complete.