GitHub repository: https://github.com/weaviate-tutorials/202507-lipari-school
- A GitHub account (sign up here)
- A Weaviate Cloud account (sign up here)
- Some notebooks will use Cohere for embeddings and Anthropic for generative AI. If you would like to follow these, you need to sign up for an account, and the usage in the notebooks will incur a small cost.
- Click on the green "Code" button in the top right corner of the repository
- Select "Open with Codespaces"
- Click on "New codespace"
- Wait for the codespace to build and start
Note: This should have set up a Python environment, and activated it for you.
If the line you see in the shell does NOT start with
(202507-lipari-school)
, make sure the setup is finished (wait a few more minutes) or try opening a new shell.
Use the following steps to set up your local environment:
- Clone the repository:
git clone git@github.com:weaviate-tutorials/202507-lipari-school.git
- Change into the directory:
- Install the required packages:
pip install -r requirements.txt
- Create a
.env
file from the example:cp .env.example .env
- Edit the
.env
file with your Weaviate Cloud details: - Activate the Python environment:
source .venv/bin/activate
- Go to the Weaviate Cloud Console and create a new Weaviate instance
- The Sandbox tier is free and perfect for learning
- Once your instance is created, note down the URL and API key
-
The CodeSpace set up will have created a
.env
file created for you (If not, create it withcp .env.example .env
.) -
Edit the
.env
file with your Weaviate Cloud details:# Your Weaviate Cloud instance URL # Example: d4vzkuatq9cfkil33yifwq.c0.europe-west3.gcp.weaviate.cloud WEAVIATE_URL=your-cluster-url-here # Your Weaviate Cloud API key # Create an "admin" key and get it from your Weaviate Cloud Console WEAVIATE_API_KEY=your-api-key-here
python try_this.py
The notebooks are named in order of the topics they cover. Please explore them in their order.
For additional information, please refer to the Weaviate documentation.