id
stringlengths
14
16
text
stringlengths
44
2.73k
source
stringlengths
73
138
7de84eb1bb91-7
params["vector"] = embeddings[i] batch.add_data_object(**params) batch.flush() return cls(client, index_name, text_key, embedding, attributes) By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Apr 25, 2023.
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\_modules\langchain\vectorstores\weaviate.html
913547242e41-0
Source code for langchain.vectorstores.zilliz from __future__ import annotations import logging from typing import Any, List, Optional from langchain.embeddings.base import Embeddings from langchain.vectorstores.milvus import Milvus logger = logging.getLogger(__name__) [docs]class Zilliz(Milvus): def _create_index(...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\_modules\langchain\vectorstores\zilliz.html
913547242e41-1
"Failed to create an index on collection: %s", self.collection_name ) raise e [docs] @classmethod def from_texts( cls, texts: List[str], embedding: Embeddings, metadatas: Optional[List[dict]] = None, collection_name: str = "LangChainCollecti...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\_modules\langchain\vectorstores\zilliz.html
913547242e41-2
""" vector_db = cls( embedding_function=embedding, collection_name=collection_name, connection_args=connection_args, consistency_level=consistency_level, index_params=index_params, search_params=search_params, drop_old=drop_old,...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\_modules\langchain\vectorstores\zilliz.html