Skip to content

Conversation

@erinmikailstaples
Copy link

The TraceRecord model has been extended to support audio file handling with two new fields:
• input_audio_file_id: For tracking input audio files
• output_audio_file_id: For tracking output audio files

These fields are optional (Union[None, Unset, str]) and integrate seamlessly with the existing trace logging system. This enhancement allows for better tracking and management of audio-based interactions in the Galileo logging system.

The changes were implemented in:
• src/galileo/resources/models/trace_record.py
• Related model and logging infrastructure

This addition maintains backward compatibility while extending the SDK's capabilities to handle audio-based workflows.

Testing:
• Model serialization/deserialization with audio file IDs
• Integration with existing trace logging functionality
• Null/Unset handling for backward compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants