I want to create a bot to answer some common questions. As of now I have about 20-30 questions to feed to the bot, but it would grow over time… ← what would be the best cost effective, and probability technical way get this application working?
I am using Node.js in Nextjs which is a platform for REACT.js… yep… all JavaScript …
What are my options to get this done?
-
Create prompts? I was using Langchain but I want to use just OpenAI and keep less dependencies … I havent seen any prompt examples with just OpenAI… and would this be a simple way to get this application done?
-
Using a vector store? Maybe chroma? Would this lower the cost of using OpenAi?.. when would be more efrective to use a vector store?
-
Using function calling?.. this seems interesting… would it lower to cost of using the OpenAi api over prompts? Or vector store?.. also, if I can keep all the information in my system i would like that better…
Any feedback is very much appreciated!!