Skip to content

Commit 485602a

Browse files
committed
Fix tests
1 parent 5265b89 commit 485602a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

_includes/code/python/quickstart.short.local.import_vectors.query.rag.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
import time
12
# START RAG
23
import weaviate
34
from weaviate.classes.generate import GenerativeConfig
45

56
# Step 2.1: Connect to your local Weaviate instance
67
with weaviate.connect_to_local() as client:
8+
# END RAG
9+
time.sleep(0.2)
10+
# START RAG
711

812
# Step 2.2: Use this collection
913
movies = client.collections.use("Movie")

_includes/code/python/quickstart.short.local.query.rag.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
import time
2+
13
# START RAG
24
import weaviate
35
from weaviate.classes.generate import GenerativeConfig
46

57
# Step 2.1: Connect to your local Weaviate instance
68
with weaviate.connect_to_local() as client:
9+
# END RAG
10+
time.sleep(0.2)
11+
# START RAG
712

813
# Step 2.2: Use this collection
914
movies = client.collections.use("Movie")

0 commit comments

Comments
 (0)