Slide 30
Slide 30 text
Langchain.rb Approach
llm = Langchain::LLM::OpenAI.new # Cohere, Gemini, Mistral, and more
llm.chat()
llm.embed()
Common interface for LLMs:
vector_db = Langchain::LLM::Weaviate.new # Chroma, Qdrant, and more
vector_db.add_texts()
vector_db.similarity_search()
vector_db.ask() # Naive RAG
Common interface for vectorsearch DBs: