From 357bb3f9e1272271bf364f4ceb26fc35292b35e2 Mon Sep 17 00:00:00 2001 From: CahidArda Date: Fri, 5 Apr 2024 00:17:09 +0300 Subject: [PATCH] update readme with test env --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b77520..62f2a3c 100644 --- a/README.md +++ b/README.md @@ -154,8 +154,20 @@ poetry run ruff format . ``` ## Running tests + To run all the tests, make sure the poetry virtual environment activated with all -the necessary dependencies. Set the necessary environment variables and run: +the necessary dependencies. + +Create two Vector Stores on upstash. First one should have 2 dimensions. Second one should use an embedding model. Set the necessary environment variables: + +``` +URL=**** +TOKEN=**** +EMBEDDING_URL=**** +EMBEDDING_TOKEN=**** +``` + +Then, run the following command to run tests: ```bash poetry run pytest