Skip to content

Log responses from OpenAI Responses API #1070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alexmojaki opened this issue May 14, 2025 · 0 comments
Open

Log responses from OpenAI Responses API #1070

alexmojaki opened this issue May 14, 2025 · 0 comments

Comments

@alexmojaki
Copy link
Contributor

Example script:

import openai

import logfire

logfire.configure()
logfire.instrument_openai(suppress_other_instrumentation=False)
logfire.instrument_httpx(capture_all=True)

openai.responses.create(model='gpt-4', input='Hi')
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

No branches or pull requests

1 participant