Skip to content

Commit

Permalink
Merge branch 'main' of github.com:weaviate/weaviate-io into DR-457-co…
Browse files Browse the repository at this point in the history
…mpression-overview
  • Loading branch information
daveatweaviate committed Aug 6, 2024
2 parents dae7a0b + df1ac6a commit 7db9046
Show file tree
Hide file tree
Showing 411 changed files with 15,242 additions and 8,523 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Thanks again!

<!-- Please select all options that apply -->

- [ ] **Github action** – automated build completed without errors
- [ ] **GitHub action** – automated build completed without errors
- [ ] **Local build** - the site works as expected when running `yarn start`

> note, you can run `yarn verify-links` to test site links locally
4 changes: 2 additions & 2 deletions .vscode/python.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"prefix": "edu-demo-wcd-connect",
"body": [
"import weaviate",
"from weaviate.auth import AuthApiKey",
"from weaviate.classes.init import Auth",
"import os",
"",
"client = weaviate.connect_to_weaviate_cloud(",
" cluster_url=os.getenv(\"WCD_DEMO_URL\"),",
" auth_credentials=AuthApiKey(os.getenv(\"WCD_DEMO_RO_KEY\")),",
" auth_credentials=Auth.api_key(os.getenv(\"WCD_DEMO_RO_KEY\")),",
" headers={",
" \"X-OpenAI-Api-Key\": os.getenv(\"OPENAI_APIKEY\"),",
" \"X-Cohere-Api-Key\": os.getenv(\"COHERE_APIKEY\"),",
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"codebook",
"Configurator",
"contextionary",
"crossref",
"CUDA",
"Customizer",
"davinci",
Expand All @@ -47,6 +48,7 @@
"jinaai",
"kmeans",
"Krugman",
"kwarg",
"Lucene",
"mellifera",
"memtable",
Expand All @@ -55,6 +57,7 @@
"Neartext",
"octoai",
"OIDC",
"Ollama",
"openai",
"pdfs",
"plugable",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ npm install --global yarn
To contribute to this web site, first fork this repository and create a local
copy to work on.

1. Log into your Github account.
1. Log into your GitHub account.
2. Fork the upstream repository, https://github.com/weaviate/weaviate-io.
3. Clone the repository to your local system.

Expand Down
1 change: 1 addition & 0 deletions _build_scripts/slack-find-author.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ git_slack_map=(
["Leonie"]="<@U05EG4DEJMC>"
["iamleonie"]="<@U05EG4DEJMC>"
["Marcin Antas"]="<@U01E5BJ3UV7>"
["Mohamed Shahin"]="<@U05V4HPJ3M0>"
["Parker Duckworth"]="<@U034QPLGSCU>"
["Peter Schramm"]="<@U03MWHJQ7PX>"
["Philip Vollet"]="<@U0573N5V97A>"
Expand Down
2 changes: 1 addition & 1 deletion _build_scripts/slack-netlify-message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ NETLIFY_URL=$(echo ${NETLIFY_LOC:19})

# Prepare the message and send it to Slack
branch_name=${GITHUB_REF##*/}
MESSAGE="{ \"text\": \"Hey $AUTHOR_NAME - your :docusaurus: *weaviate website* build (\`$branch_name\`) is ready on Netlify:\n $NETLIFY_URL \n> $commit_message\" }"
MESSAGE="{'text': 'Hey $AUTHOR_NAME - your :docusaurus: :weaviate-logo: website build (\`$branch_name\`) is ready on Netlify:\n $NETLIFY_URL \n> $commit_message' }"

echo $MESSAGE > payload_netlify.json

Expand Down
2 changes: 1 addition & 1 deletion _build_scripts/slack-release-message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ commit_message=${commit_message//</&lt;}
commit_message=${commit_message//>/&gt;}

# Prepare the message and send it to Slack
MESSAGE="{ \"text\": \"Hey $AUTHOR_NAME - your :docusaurus: *weaviate website* update is live at: 🔥 https://weaviate.io 🔥 \n> $commit_message\" }"
MESSAGE="{ 'text': 'Hey $AUTHOR_NAME - your :docusaurus: :weaviate-logo: website update is live at: 🔥 https://weaviate.io 🔥 \n> $commit_message' }"

echo $MESSAGE > payload_release.json

Expand Down
13 changes: 6 additions & 7 deletions _includes/code/client-libraries/python_slow_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@
# =================================

# START ConnectWithLongTimeOut
from weaviate.classes.init import AdditionalConfig, Timeout
from weaviate.auth import AuthApiKey
from weaviate.classes.init import AdditionalConfig, Timeout, Auth
import weaviate

# Set these environment variables
URL = os.getenv("WCD_URL")
APIKEY = os.getenv("WCD_API_KEY")

# Connect to Weaviate Cloud
client = weaviate.connect_to_wcs(
client = weaviate.connect_to_weaviate_cloud(
cluster_url=URL,
auth_credentials=AuthApiKey(APIKEY),
auth_credentials=Auth.api_key(APIKEY),
additional_config=AdditionalConfig(timeout=Timeout(init=10)),
)

Expand All @@ -34,16 +33,16 @@

# START ConnectWithSkipChecks
import weaviate
from weaviate.auth import AuthApiKey
from weaviate.classes.init import Auth

# Set these environment variables
URL = os.getenv("WCD_URL")
APIKEY = os.getenv("WCD_API_KEY")

# Connect to Weaviate Cloud
client = weaviate.connect_to_wcs(
client = weaviate.connect_to_weaviate_cloud(
cluster_url=URL,
auth_credentials=AuthApiKey(APIKEY),
auth_credentials=Auth.api_key(APIKEY),
skip_init_checks=True,
)

Expand Down
Loading

0 comments on commit 7db9046

Please sign in to comment.