@@ -43,16 +43,16 @@ environment and install the dependencies using the following command:
4343pip install -r requirements.txt
4444```
4545
46- Depending on your setup you may run into some issues when running the ` pip install ` command with the
47- ` flash_attn ` package. In that case running ` FLASH_ATTENTION_SKIP_CUDA_BUILD=TRUE pip install flash-attn --no-build-isolation ` could help you.
46+ Depending on your hardware you may run into some issues when running the ` pip install ` command with the
47+ ` flash_attn ` package. In that case running ` FLASH_ATTENTION_SKIP_CUDA_BUILD=TRUE pip install flash-attn --no-build-isolation `
48+ could help you.
4849
4950In order to use the default LLM for this query, you'll need an account and an
50- API key from OpenAI specified as another environment variable:
51-
52- zenml secret create supabase_postgres_db --password="YOUR_PASSWORD" --user="YOU_USER" --host="YOUR_HOST" --port="YOUR_PORT"
51+ API key from OpenAI specified as a ZenML secret:
5352
5453``` shell
5554zenml secret create openai --api_key=< your-openai-api-key>
55+ export ZENML_OPENAI_SECRET_NAME=openai
5656```
5757
5858### Setting up Supabase
@@ -69,14 +69,15 @@ isn't stored in plaintext. You can do this by running the following command:
6969
7070``` shell
7171zenml secret create supabase_postgres_db --password=" YOUR_PASSWORD" --user=" YOU_USER" --host=" YOUR_HOST" --port=" YOUR_PORT"
72+ export ZENML_SUPABASE_SECRET_NAME=supabase_postgres_db
7273```
7374
7475You can get the user, host and port for this database instance by getting the connection
7576string from the Supabase dashboard.
7677
7778![ ] ( .assets/supabase-connection-string.png )
7879
79- Alternatively you can use a different database as the backend.
80+ In case supabase is not an option for you, you can use a different database as the backend.
8081
8182### Running the RAG pipeline
8283
0 commit comments