superagent icon indicating copy to clipboard operation
superagent copied to clipboard

How to use SuperAgent to work with the GPT4ALL LLM

Open oceands opened this issue 2 years ago • 4 comments

Hey, we I am currently working with @thesushilsharma and we are looking for ways to integrate the GPT4ALL LLM in order to use it as our native LLM instead of the one provided by OpenAI. Are there any methods existing at this stage which would allow us to achieve this?

oceands avatar May 20 '23 09:05 oceands

Hey, we I am currently working with @thesushilsharma and we are looking for ways to integrate the GPT4ALL LLM in order to use it as our native LLM instead of the one provided by OpenAI. Are there any methods existing at this stage which would allow us to achieve this?

Hi, there's always a way. I'll post documentation for it. Are you planning on running the model locally or in the cloud?

homanp avatar May 20 '23 11:05 homanp

Both first locally then in the cloud :)

oceands avatar May 20 '23 11:05 oceands

Both first locally then in the cloud :)

Got it

homanp avatar May 20 '23 12:05 homanp

@oceands I made a PR to show how to use GPT4All: https://github.com/homanp/superagent/pull/47 You can check out that branch and play with it. My experience is that it runs really slow and not fit to push to production. If you guys have any ideas on how to optimize this that would be great.

homanp avatar May 21 '23 21:05 homanp