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

LangChain Integration of Gorilla OpenFunctions-v2 #528

Open
jiayini1119 opened this issue Jul 16, 2024 · 5 comments
Open

LangChain Integration of Gorilla OpenFunctions-v2 #528

jiayini1119 opened this issue Jul 16, 2024 · 5 comments
Labels
hosted-openfunctions-v2 Issues with OpenFunctions-v2

Comments

@jiayini1119
Copy link

Hi, is there integration of Gorilla OpenFunctions-v2 with LangChain? I only see the integration of the Gorilla models such as gorilla-7b-hf-v1, but not the Gorilla OpenFunctions models. It would be nice if those models can also be integrated into LangChain.

Thanks!

@jiayini1119 jiayini1119 added the hosted-openfunctions-v2 Issues with OpenFunctions-v2 label Jul 16, 2024
@ShishirPatil
Copy link
Owner

ShishirPatil commented Jul 17, 2024

Hey @jiayini1119 thanks for your interest! Yeah, we have all the integrations here: #74 (comment)

For your quick reference, the langchain example for a Gorilla model is here. You can use something similar for langchain as well: https://colab.research.google.com/drive/11HJWR3ylG1HSE2v78W1gRK-dKkSA0pHe?usp=sharing

Let us know if you have any further questions!!

@jiayini1119
Copy link
Author

Thank you @ShishirPatil !

@jiayini1119
Copy link
Author

jiayini1119 commented Jul 20, 2024

Hi @ShishirPatil , is there any recent plan of migrating support of Gorilla openfunction to the latest openai version? It would be really nice if we can use something like bind_tools for Gorilla openfunction as well.

@ShishirPatil
Copy link
Owner

Thanks for the feedback @jiayini1119. Hmm. It takes quite some effort since we also implemented custom functions while the latest one uses tools. And this also has is a dependencies for gorilla-cli as well. Let me see if I get a weekend. I can sit and upgrade everything!

@jiayini1119
Copy link
Author

Thank you @ShishirPatil !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hosted-openfunctions-v2 Issues with OpenFunctions-v2
Projects
None yet
Development

No branches or pull requests

2 participants