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

Update groq.md #651

Merged
merged 1 commit into from
May 13, 2024
Merged

Update groq.md #651

merged 1 commit into from
May 13, 2024

Conversation

frankbaele
Copy link
Contributor

@frankbaele frankbaele commented May 6, 2024

Instructor now has a seperate groq client that should be used


🚀 This description was created by Ellipsis for commit de98621

Summary:

Updated the groq.md documentation to utilize the new groq specific client with JSON mode for better data handling.

Key points:

  • Updated groq.md to use instructor.from_groq instead of instructor.from_openai.
  • Changed mode from MD_JSON to JSON.

Generated with ❤️ by ellipsis.dev

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 de98621
  • Looked at 21 lines of code in 1 files
  • Took 43 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_h7K6qRPpv8yB5Gyb


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.

@@ -51,7 +51,7 @@ client = Groq(
)

# By default, the patch function will patch the ChatCompletion.create and ChatCompletion.create methods to support the response_model parameter
Copy link
Contributor

Choose a reason for hiding this comment

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

The comment on this line still refers to OpenAI's ChatCompletion.create method, which might be misleading given the context switch to Groq. Please update the comment to reflect the use of Groq's client.

@jxnl jxnl enabled auto-merge (squash) May 8, 2024 20:21
@jxnl jxnl disabled auto-merge May 13, 2024 18:54
@jxnl jxnl merged commit 28deb93 into instructor-ai:main May 13, 2024
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.

2 participants