chat-with-gpt icon indicating copy to clipboard operation
chat-with-gpt copied to clipboard

LangChain Feature

Open daveycodez opened this issue 1 year ago • 1 comments

First off, wow, impressive. I was about to build this myself to get around GPT-4 limits. And I was going to give it Eleven labs voice. You already did it. Which is awesome. Great stuff here. I’ll be using this a lot.

I know this is open source and I will dig around. But I want to hook this chat UI that you’ve built up to lang chain, so I can retrieve data from external sources and also issue natural language commands through Zapier.

Can you point me in the right direction to which files I need to look at in order to override the actual API requests so I can run them through custom functions that attach Lang Chain tools to the model?

Cheers.

daveycodez avatar Mar 18 '23 11:03 daveycodez

https://github.com/cogentapps/chat-with-gpt/blob/main/app/src/openai.ts

should do it.

tluyben avatar Mar 18 '23 12:03 tluyben