Files
langchain/templates/rag-weaviate

RAG Weaviate

This template performs RAG using Weaviate and OpenAI.

Weaviate

This connects to a hosted Weaviate vectorstore.

Be sure that you have set a few env variables in chain.py:

  • WEAVIATE_ENVIRONMENT
  • WEAVIATE_API_KEY

LLM

Be sure that OPENAI_API_KEY is set in order to the OpenAI models.