Skip to content
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

Adding docs for instrument_openai #18

Merged
merged 5 commits into from
Apr 26, 2024
Merged

Adding docs for instrument_openai #18

merged 5 commits into from
Apr 26, 2024

Conversation

samuelcolvin
Copy link
Member

No description provided.

Copy link

cloudflare-workers-and-pages bot commented Apr 26, 2024

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9b82427
Status: ✅  Deploy successful!
Preview URL: https://0a08dd53.logfire-docs.pages.dev
Branch Preview URL: https://open-docs.logfire-docs.pages.dev

View logs

@samuelcolvin samuelcolvin requested review from dmontagu and Kludex April 26, 2024 20:00
When instrumenting streaming responses, Logfire creates two spans — one around the initial request and one
around the streamed response.

Here we also use Rich's [`Live`][rich.live.Live] and [`Markdown`][rich.markdown.Markdown] types to render the response in the terminal in real-time. :dancer:
Copy link
Contributor

Choose a reason for hiding this comment

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

🕺

Copy link
Contributor

@dmontagu dmontagu left a comment

Choose a reason for hiding this comment

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

Looks great to me.

@samuelcolvin samuelcolvin enabled auto-merge (squash) April 26, 2024 20:31
@samuelcolvin samuelcolvin merged commit dcafe26 into main Apr 26, 2024
9 checks passed
@samuelcolvin samuelcolvin deleted the open-docs branch April 26, 2024 20:32
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.

2 participants