This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt install python3 python3-pip | |
sudo -H pip3 install --upgrade pip | |
sudo -H pip3 install -U weaviate-client | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import weaviate | |
client = weaviate.Client( | |
url=(""), # Replace with your WCS URL | |
auth_client_secret=weaviate.AuthApiKey(api_key=""), # Replace with your WCS key | |
additional_headers={'X-OpenAI-Api-Key':""} # Replace os.getenv("OPENAI_APIKEY") with your actual OpenAI API key | |
) | |
print(client.is_ready()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh_key_path: | |
kubernetes_version: | |
nodes: | |
- address: | |
internal_address: | |
user: | |
role: [etcd, controlplane, worker] | |
- address: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh_key_path: /path | |
nodes: | |
- address: 0.0.0.0 | |
internal_address: 0.0.0.0 | |
user: ubuntu | |
role: | |
- etcd | |
- controlplane | |
- worker | |
- address: 0.0.0.0 |





NewerOlder