Salesforce Langchain Python OpenAI AWS Lambda2

Talk to Salesforce Data Using OpenAI, Langchain & Chroma

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




Related Posts


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Jitendra Zaa

Subscribe now to keep reading and get access to the full archive.

Continue Reading