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

Blog post for enhanced non-OpenAI model support #2965

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

marklysze
Copy link
Collaborator

PR for blog post for the enhanced support of non-OpenAI models through new client classes. Includes Anthropic, Mistral.AI, Together.AI so far.

Related issue number

See Roadmap issue #2946

Checks

@marklysze marklysze self-assigned this Jun 18, 2024
@marklysze marklysze added the alt-models Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.) label Jun 18, 2024
@marklysze marklysze mentioned this pull request Jun 19, 2024
3 tasks
Copy link
Member

@olgavrou olgavrou left a comment

Choose a reason for hiding this comment

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

LGTM when comment is resolved

@marklysze
Copy link
Collaborator Author

marklysze commented Jun 19, 2024

Thanks @olgavrou, I'll put the function calling in and would like to write some text around using these alternative models including some tips/parameters that are useful to tweak and work with. That will take a day or two to do. Hope that's okay.

There is also a dependency on the next release, which will include these new client classes, v0.2.30. #2946

@marklysze
Copy link
Collaborator Author

marklysze commented Jun 20, 2024

I've updated with the upfront text. Still to do is the function calling example which I'll work on next.

Copy link

gitguardian bot commented Jun 22, 2024

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
11616921 Triggered Generic High Entropy Secret 0f33e84 notebook/agentchat_agentops.ipynb View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@marklysze
Copy link
Collaborator Author

Thanks @olgavrou and @qingyun-wu, I've added the function calling to the blog post. Have also added a separate notebook for more function calling between different providers (separated it as it was very long).

Let us know what you think and if we can improve it.

@Hk669 Hk669 requested a review from olgavrou June 24, 2024 04:56
@marklysze marklysze mentioned this pull request Jun 28, 2024
3 tasks
@marklysze
Copy link
Collaborator Author

Thanks for approving @olgavrou!

@qingyun-wu, let us know if you would like anyone else to review or if you want any changes. Groq has been added since it is now merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alt-models Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants