Skip to content

Conversation

@tcdent
Copy link
Contributor

@tcdent tcdent commented Mar 28, 2025

  • Captures span data for transcriptions & speech.
  • Uploads audio data to AgentOps backend.

Example agent script at: examples/agents-example/voice_transcription.py

tcdent added 21 commits March 25, 2025 13:08
… encode in tests to handle MagicMock objects.
…tags. Tests for helpers and common insrumentation attributes.
…pping functionality from instrumentation.common. Include prompts in OpenAI Responses attributes.
@tcdent tcdent requested a review from dot-agi March 28, 2025 02:06
@codecov
Copy link

codecov bot commented Mar 28, 2025

@tcdent tcdent linked an issue Mar 28, 2025 that may be closed by this pull request
teocns
teocns previously requested changes Mar 28, 2025
Copy link
Member

@dot-agi dot-agi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments for improving code quality.

I was not able to test this PR with the voice_transcription.py file due to receiving the ApiServerException exception.

Is there a way to test this in realtime? I have two more notebooks to test from the OpenAI Cookbook website.

@tcdent
Copy link
Contributor Author

tcdent commented Apr 1, 2025

Left some comments for improving code quality.

I was not able to test this PR with the voice_transcription.py file due to receiving the ApiServerException exception.

Is there a way to test this in realtime? I have two more notebooks to test from the OpenAI Cookbook website.

You need to run the backend API from #817.

AGENTOPS_API_ENDPOINT="http://localhost:8000"; uv run examples/agents-example/voice_transcription.py

@dot-agi dot-agi self-requested a review April 2, 2025 12:17
Copy link
Member

@dot-agi dot-agi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

challenged

@dot-agi dot-agi enabled auto-merge (squash) April 2, 2025 18:39
@dot-agi dot-agi requested a review from teocns April 2, 2025 18:48
@dot-agi dot-agi dismissed teocns’s stale review April 2, 2025 18:51

Changes were made in the deleted file.

@dot-agi dot-agi merged commit f111f55 into main Apr 2, 2025
8 of 10 checks passed
@dot-agi dot-agi deleted the agents-voice branch April 2, 2025 18:51
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.

OpenAI Agents voice support

4 participants