This is blog post 2 in the AI series. In this blog post, I will share source code and a Video tutorial on using Open AI embedding with Langchain , Chroma vector database to talk to Salesforce lead data using Open with the concept known as RAG – Retrieval-Augmented Generation. . We would use the Chroma database to store embedding vectors and save API costs from Open AI.
Summary of demo and Source Code
- Get data from Salesforce in txt file
- Convert embedding of this text file and store in Chroma vector db
- When prompted, use Langchain to enrich prompt on basis of embedding available in chromadb
- OpenAI uses enriched prompt now to answer questions
Leave a Reply