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

feat: Adding new blog post #1162

Merged
merged 1 commit into from
Nov 10, 2024
Merged

feat: Adding new blog post #1162

merged 1 commit into from
Nov 10, 2024

Conversation

ivanleomk
Copy link
Collaborator

@ivanleomk ivanleomk commented Nov 10, 2024

Important

Adds a blog post on Google's OpenAI client for Gemini, highlighting its limitations and the advantages of using instructor.

  • New Blog Post:
    • Adds google-openai-client.md to docs/blog/posts/.
    • Discusses Google's new OpenAI client compatibility for Gemini and its limitations.
    • Highlights the necessity of instructor for schema management, streaming, and multimodal support.
  • Limitations of Google's Integration:
    • Limited schema support: Only simple, single-level schemas are supported.
    • No streaming support for function calling.
    • No multimodal support for processing images, video, and audio.
  • Advantages of instructor:
    • Easy schema management with Pydantic support.
    • Built-in streaming support for partial results.
    • Multimodal input support for Gemini models.
    • Provider agnostic API for easy switching between providers.
    • Automatic validation and retries for reliable outputs.

This description was created by Ellipsis for f31635e. It will automatically update as commits are pushed.

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.

👍 Looks good to me! Reviewed everything up to f31635e in 48 seconds

More details
  • Looked at 277 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. docs/blog/posts/google-openai-client.md:271
  • Draft comment:
    Remove the extra period at the end of the sentence.
Give us a try today by installing with `pip install instructor` and see why Pydantic is all you need for a production grade LLM application.
  • Reason this comment was not posted:
    Confidence changes required: 10%
    The blog post is informative but contains a minor grammatical error in the conclusion section.
2. docs/blog/posts/google-openai-client.md:1
  • Draft comment:
    Ensure this new markdown file is added to mkdocs.yml for proper documentation inclusion.
  • Reason this comment was not posted:
    Comment was on unchanged code.

Workflow ID: wflow_NLazca5sQTtkx6De


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@github-actions github-actions bot added documentation Improvements or additions to documentation enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files. labels Nov 10, 2024
Copy link

Deploying instructor-py with  Cloudflare Pages  Cloudflare Pages

Latest commit: f31635e
Status: ✅  Deploy successful!
Preview URL: https://62e43924.instructor-py.pages.dev
Branch Preview URL: https://gemini-openai-blog.instructor-py.pages.dev

View logs

@ivanleomk ivanleomk merged commit 5dc6a4c into main Nov 10, 2024
15 of 16 checks passed
@ivanleomk ivanleomk deleted the gemini-openai-blog branch November 10, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant