diff --git a/examples/basic_embedding.py b/examples/basic_embedding.py index 9e29c60..69e189f 100755 --- a/examples/basic_embedding.py +++ b/examples/basic_embedding.py @@ -22,7 +22,7 @@ from substrate import Substrate, MultiEmbedText, DeleteVectorStore, FindOrCreateVectorStore -substrate = Substrate(api_key=api_key, timeout=60 * 5, base_url="https://kube-dev.substrate.run/ray/stable") +substrate = Substrate(api_key=api_key, timeout=60 * 5) old_collection = DeleteVectorStore(collection_name="substrate_api_v2", model="jina-v2") diff --git a/examples/basic_rag.py b/examples/basic_rag.py index 8eb233a..4bb777c 100644 --- a/examples/basic_rag.py +++ b/examples/basic_rag.py @@ -14,7 +14,7 @@ from substrate import Substrate, QueryVectorStore, FindOrCreateVectorStore, sb -substrate = Substrate(api_key=api_key, timeout=60 * 5, base_url="https://kube-dev.substrate.run/ray/stable") +substrate = Substrate(api_key=api_key, timeout=60 * 5) prompt_text = input("Enter a prompt: ")