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

New Logfire Article ( Fixes #640 ) #647

Merged
merged 2 commits into from
May 2, 2024
Merged

New Logfire Article ( Fixes #640 ) #647

merged 2 commits into from
May 2, 2024

Conversation

ivanleomk
Copy link
Collaborator

@ivanleomk ivanleomk commented May 2, 2024

This new PR fixes #640 and introduces a new article + code on how to use instructor with Asyncio. It showcases two examples - one with simple classification and another with the streaming API.


🚀 This description was created by Ellipsis for commit 42bc099

Summary:

Introduces a comprehensive guide and example on integrating Logfire with FastAPI and Instructor for enhanced application telemetry.

Key points:

  • Adds a new article full-fastapi-visibility.md in /docs/blog/posts explaining the integration of Logfire with FastAPI and Instructor.
  • Includes detailed setup and usage instructions with code snippets and images.
  • Adds example code in /examples/logfire-fastapi demonstrating practical implementation of the discussed features.
  • Updates include new images in /docs/blog/posts/img for visual aid in the article.
  • Ensures all new documentation and examples are properly linked and accessible.

Generated with ❤️ by ellipsis.dev

Copy link

cloudflare-workers-and-pages bot commented May 2, 2024

Deploying instructor with  Cloudflare Pages  Cloudflare Pages

Latest commit: e9aecf3
Status: ✅  Deploy successful!
Preview URL: https://f10f7b75.instructor.pages.dev
Branch Preview URL: https://logfire-fastapi.instructor.pages.dev

View logs

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested.

  • Reviewed the entire pull request up to 42bc099
  • Looked at 371 lines of code in 8 files
  • Took 55 seconds to review
More info
  • Skipped 0 files when reviewing.
  • Skipped posting 0 additional comments because they didn't meet confidence threshold of 85%.

Workflow ID: wflow_63xqnjpaqLnNT2gR


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with review rules, user-specific overrides, quiet mode, and more. See docs.

docs/blog/posts/full-fastapi-visibility.md Show resolved Hide resolved
@jxnl jxnl merged commit aa52230 into main May 2, 2024
5 of 21 checks passed
@jxnl jxnl deleted the logfire-fastapi branch May 2, 2024 18:16
boydgreenfield pushed a commit to boydgreenfield/instructor that referenced this pull request May 17, 2024
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.

create logfire hub example that uses fastapi
2 participants