Files
langchain/templates/rag-weaviate
David Duong d39b4b61b6 Batch apply poetry lock --no-update for all templates (#12531)
Ran the following bash script for all templates

```bash
#!/bin/bash

set -e
current_dir="$(pwd)"
for directory in */; do
    if [ -d "$directory" ]; then
        (cd "$directory" && poetry lock --no-update)
    fi
done

cd "$current_dir"
```

Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-10-30 15:18:53 -07:00
..

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.