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

Local LLM with function calling #406

Closed
cccc11231 opened this issue Oct 24, 2023 · 4 comments
Closed

Local LLM with function calling #406

cccc11231 opened this issue Oct 24, 2023 · 4 comments
Labels
tool-usage suggestion and execution of function/tool call

Comments

@cccc11231
Copy link

Has anyone used Autogen in conjunction with local LLM to create an agent that manages function calls? It seems that this function calling feature integrates seamlessly with OpenAI, but I'm facing challenges with LLM. Does anyone have any suggestions or experience to share regarding LLM? I was using CodeLlama.

@bartanderson
Copy link

bartanderson commented Oct 25, 2023

After all that, which may or may not be worth reading.. I found this by doing some more searching https://microsoft.github.io/autogen/blog/2023/07/14/Local-LLMs/
From what I have seen, and I look for this a lot, is that the current local llm are not as smart as chatgpt (3.5 even) and because of that do poorly in handling the queries that are involved. Another part of the issue is I believe that the local llm are not trained to handle api. Now my thoughts are that just having the basics would be a good place to start for enhancing. I think you could have python that handled apis or even nlp that would generate them or you could generate them yourself to provide the tools that the llm (one of its agents actually) would search for. Not nearly smart enough on this or I would be doing it myself. $.02

@gagb gagb added the tool-usage suggestion and execution of function/tool call label Oct 25, 2023
@wuyongyi
Copy link

I just had a similar problem

@miandai
Copy link

miandai commented Nov 4, 2023

I am also looking for ways to use local models. But I didn't find it.
Many agent frameworks face this issue. They are designed for OpenAI ChatGPT Interface with functions parameters. It would be a bit troublesome to switch to another model.

@cccc11231
Copy link
Author

cccc11231 commented Nov 17, 2023

right now I am using glaive-function-calling model from huggingface as function calling agent llm. it's not perfect but it's working as least. and compatible with openai format.
https://huggingface.co/glaiveai/glaive-function-calling-v1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tool-usage suggestion and execution of function/tool call
Projects
None yet
Development

No branches or pull requests

5 participants