Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.83 KB

README.md

File metadata and controls

64 lines (41 loc) · 1.83 KB

Weaviate Workshop

What you need for the workshop

  • API Keys for embedding models, like:

Create a Weaviate Cloud instance

  • Head to Weaviate Cloud console and log in, or create a new account.
  • Create a free Sandbox cluster. Give it a name, select the cloud region and press "Create".

wcd create cluster - step 1 wcd create cluster - step 2

Running the workshop

Option 1 - Run locally

Virtual environment – do this only once

First create a new venv configuration.

python3 -m venv .venv

Then switch to the new configuration:

source .venv/bin/activate

And install the required packages.

pip install -r requirements.txt

Option 2 - GitHub CodeSpaces instructions

  1. Go to the project https://github.com/weaviate-tutorials/weaviate-workshop

Make sure you are logged in with GitHub.

  1. Create a Codespace project
  • Press the green <> Code button, then switch to Codespaces tab.
  • Press the Create codespace on main button.
  • Your codespace project will install all the necessary components, it will take a few minutes.

Env vars

Update env vars in .env.

Hint. you can find your Weaviate Cluster URL and API keys in the WCD console.

  • WEAVIATE_URL - is the REST Endpoint
  • WEAVIATE_KEY - is the Admin key in API Keys

Test your setup

Head to 1-intro/0-prep-run.ipynb, and run through all steps.

Download the prevectorized data

Head to prep-data.ipynb and run all the cells. This should download the data we will use in the second lesson.