repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/tests/test_to_weaviate_filter.py
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/tests/test_to_weaviate_filter.py
from llama_index.core.vector_stores.types import ( FilterCondition, FilterOperator, MetadataFilters, MetadataFilter, ) from llama_index.vector_stores.weaviate.base import _to_weaviate_filter def test_to_weaviate_filter_with_various_operators(): filters = MetadataFilters(filters=[MetadataFilter(key...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/_exceptions.py
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/_exceptions.py
class SyncClientNotProvidedError(Exception): """Exception raised when no synchronous weaviate client was provided via the `weaviate_client` parameter.""" def __init__( self, message="Sync method called without a synchronous WeaviateClient provided. Either switch to using async methods together...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/utils.py
""" Weaviate-specific serializers for LlamaIndex data structures. Contain conversion to and from dataclasses that LlamaIndex uses. """ import logging from typing import Any, Dict, List, cast from llama_index.core.schema import BaseNode, MetadataMode, TextNode from llama_index.core.vector_stores.utils import ( ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/__init__.py
from llama_index.vector_stores.weaviate.base import WeaviateVectorStore from llama_index.vector_stores.weaviate._exceptions import ( AsyncClientNotProvidedError, SyncClientNotProvidedError, ) __all__ = [ "WeaviateVectorStore", "AsyncClientNotProvidedError", "SyncClientNotProvidedError", ]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/base.py
""" Weaviate Vector store index. An index that is built on top of an existing vector store. """ import logging from typing import Any, Dict, List, Optional, Union from uuid import uuid4 from llama_index.core.bridge.pydantic import Field, PrivateAttr from llama_index.core.schema import BaseNode from llama_index.core...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/tests/test_vector_stores_moorcheh.py
llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/tests/test_vector_stores_moorcheh.py
# Test.py import os import pytest import time import uuid from typing import List from llama_index.core import StorageContext, VectorStoreIndex from llama_index.core.embeddings import MockEmbedding from llama_index.core.schema import TextNode from llama_index.core.vector_stores.types import ( BasePydanticVectorSt...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/llama_index/vector_stores/moorcheh/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/llama_index/vector_stores/moorcheh/utils.py
from collections import Counter from typing import Callable, List from llama_index.core.bridge.pydantic import Field from llama_index.core.base.embeddings.base_sparse import ( BaseSparseEmbedding, SparseEmbedding, ) def get_default_tokenizer() -> Callable: try: from transformers import BertTokeni...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/llama_index/vector_stores/moorcheh/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/llama_index/vector_stores/moorcheh/__init__.py
from llama_index.vector_stores.moorcheh.base import MoorchehVectorStore __all__ = ["MoorchehVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/llama_index/vector_stores/moorcheh/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-moorcheh/llama_index/vector_stores/moorcheh/base.py
# Importing required libraries and modules import logging from typing import Any, List, Optional, Callable, ClassVar, Literal import uuid import os # LlamaIndex internals for schema and vector store support from llama_index.core.schema import BaseNode, MetadataMode, TextNode from llama_index.core.llms import LLM from ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-alibabacloud-opensearch/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-alibabacloud-opensearch/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-alibabacloud-opensearch/tests/test_vector_stores_alibabacloud_opensearch.py
llama-index-integrations/vector_stores/llama-index-vector-stores-alibabacloud-opensearch/tests/test_vector_stores_alibabacloud_opensearch.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.alibabacloud_opensearch import ( AlibabaCloudOpenSearchStore, ) def test_class(): names_of_base_classes = [b.__name__ for b in AlibabaCloudOpenSearchStore.__mro__] assert BasePydanticVectorStore.__name_...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-alibabacloud-opensearch/llama_index/vector_stores/alibabacloud_opensearch/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-alibabacloud-opensearch/llama_index/vector_stores/alibabacloud_opensearch/__init__.py
from llama_index.vector_stores.alibabacloud_opensearch.base import ( AlibabaCloudOpenSearchConfig, AlibabaCloudOpenSearchStore, ) __all__ = ["AlibabaCloudOpenSearchConfig", "AlibabaCloudOpenSearchStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-alibabacloud-opensearch/llama_index/vector_stores/alibabacloud_opensearch/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-alibabacloud-opensearch/llama_index/vector_stores/alibabacloud_opensearch/base.py
"""Alibaba Cloud OpenSearch Vector Store.""" import json import logging import asyncio from typing import Any, List, Dict, Optional from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, TextNode from llama_index.core.vector_stores.types import ( MetadataFilters, ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/conftest.py
"""pytest fixtures for PostgreSQL connections and connection pools. This file contains pytest fixtures for setting up PostgreSQL connections and connection pools, both synchronous and asynchronous. It supports basic authentication and Azure AD authentication, allowing for flexible testing configurations. """ import l...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/__init__.py
"""Placeholder file to make this directory a(n) importable (test) package."""
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/common/test_shared.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/common/test_shared.py
"""Unit tests for shared utilities related to credential parsing (get_username_password).""" import base64 import hashlib import hmac import json from contextlib import nullcontext import pytest from azure.core.credentials import AccessToken, TokenCredential from llama_index.vector_stores.azure_postgres.common impor...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/common/test_connection.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/common/test_connection.py
"""Synchronous connection handling tests for Azure Database for PostgreSQL.""" from collections.abc import Generator from contextlib import contextmanager, nullcontext from typing import Any import pytest from psycopg import Connection, sql from pydantic import BaseModel, ConfigDict from llama_index.vector_stores.az...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/common/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/common/__init__.py
"""Placeholder file to make this directory a(n) importable (test) package."""
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/llama_index/test_vectorstore.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/llama_index/test_vectorstore.py
"""VectorStore integration tests for Azure Database for PostgreSQL using LlamaIndex.""" import re from contextlib import nullcontext from typing import Any import pytest from psycopg import sql from psycopg.rows import dict_row from psycopg_pool import ConnectionPool from pydantic import PositiveInt from llama_index...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/llama_index/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/llama_index/conftest.py
"""Pytest fixtures and Pydantic models used for Azure PostgreSQL vector store integration tests.""" from collections.abc import Generator from typing import Any import pytest from psycopg import sql from psycopg_pool import ConnectionPool from pydantic import BaseModel, PositiveInt from llama_index.core.schema impor...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/llama_index/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/tests/llama_index/__init__.py
"""Placeholder file to make this directory a(n) importable (test) package."""
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/__init__.py
"""Common utilities and models for Azure Database for PostgreSQL operations.""" from .base import AzurePGVectorStore __all__ = [ "AzurePGVectorStore", ]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/base.py
"""VectorStore integration for Azure Database for PostgreSQL using LlamaIndex.""" import sys from typing import Any import numpy as np from pgvector.psycopg import register_vector # type: ignore[import-untyped] from psycopg import sql from psycopg.rows import dict_row from psycopg.types.json import Jsonb from llama...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/_connection.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/_connection.py
"""Synchronous connection handling for Azure Database for PostgreSQL.""" import logging import time from collections.abc import Callable from azure.core.credentials import TokenCredential from azure.identity import DefaultAzureCredential from psycopg import Connection, sql from psycopg.rows import dict_row from psyco...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/_base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/_base.py
"""Base VectorStore integration for Azure Database for PostgreSQL.""" import logging import re import sys from collections.abc import Sequence from typing import Any import numpy as np from pgvector.psycopg import register_vector # type: ignore[import-untyped] from psycopg import sql from psycopg.rows import dict_ro...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
true
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/__init__.py
"""Common utilities and models for Azure Database for PostgreSQL operations.""" from ._base import ( BaseAzurePGVectorStore, ) from ._connection import ( AzurePGConnectionPool, ConnectionInfo, check_connection, create_extensions, ) from ._shared import ( HNSW, Algorithm, BasicAuth, ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/_shared.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/_shared.py
"""Shared utilities and models for asynchronous and synchronous operations.""" import asyncio import base64 import json import sys import threading from abc import abstractmethod from collections.abc import Coroutine from concurrent.futures import ThreadPoolExecutor from enum import Enum from typing import Annotated, ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/aio/_connection.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/aio/_connection.py
"""Asynchronous connection handling for Azure Database for PostgreSQL.""" import logging import time from collections.abc import Awaitable, Callable from azure.core.credentials_async import AsyncTokenCredential from azure.identity.aio import DefaultAzureCredential from psycopg import AsyncConnection, sql from psycopg...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/aio/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/llama_index/vector_stores/azure_postgres/common/aio/__init__.py
"""Common utilities and models for asynchronous Azure Database for PostgreSQL operations.""" from ._connection import ( AsyncAzurePGConnectionPool, AsyncConnectionInfo, async_check_connection, async_create_extensions, ) __all__ = [ "AsyncAzurePGConnectionPool", "AsyncConnectionInfo", "asyn...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vectorx/tests/test_vector_stores_vectorx.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vectorx/tests/test_vector_stores_vectorx.py
import unittest import sys import pytest import time import os from pathlib import Path from unittest.mock import MagicMock # Add parent directory to Python path sys.path.append(str(Path(__file__).parent.parent)) from vecx.vectorx import VectorX from llama_index.vector_stores.vectorx import VectorXVectorStore from ll...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vectorx/llama_index/vector_stores/vectorx/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vectorx/llama_index/vector_stores/vectorx/__init__.py
from llama_index.vector_stores.vectorx.base import VectorXVectorStore __all__ = ["VectorXVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vectorx/llama_index/vector_stores/vectorx/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vectorx/llama_index/vector_stores/vectorx/base.py
import logging from collections import Counter import json from typing import Any, Callable, Dict, List, Optional, cast from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, TextNode from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, Vec...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-ApertureDB/tests/test_vector_stores_ApertureDB.py
llama-index-integrations/vector_stores/llama-index-vector-stores-ApertureDB/tests/test_vector_stores_ApertureDB.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.ApertureDB import ApertureDBVectorStore import aperturedb class MockConnector: def __init__(self, exists) -> None: self.exists = exists self.queries = [] def clone(self): return se...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-ApertureDB/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-ApertureDB/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-ApertureDB/llama_index/vector_stores/ApertureDB/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-ApertureDB/llama_index/vector_stores/ApertureDB/__init__.py
from llama_index.vector_stores.ApertureDB.base import ApertureDBVectorStore __all__ = ["ApertureDBVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-ApertureDB/llama_index/vector_stores/ApertureDB/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-ApertureDB/llama_index/vector_stores/ApertureDB/base.py
""" ApertureDB vector store index. """ from __future__ import annotations import json import logging import numpy as np from pydantic import PrivateAttr from typing_extensions import override from llama_index.core.schema import TextNode from typing import Any, Dict, List, Optional from llama_index.core.vector_store...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/tests/test_lantern.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/tests/test_lantern.py
import asyncio from typing import Any, Dict, Generator, List, Union import pytest from llama_index.core.schema import ( BaseNode, IndexNode, TextNode, ) from llama_index.core.vector_stores.types import ( VectorStoreQuery, ) from llama_index.vector_stores.lantern import LanternVectorStore # for testing...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/tests/conftest.py
# pants requires this import to recognize the dep import pytest_asyncio # noqa: F401
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/tests/test_vector_stores_lantern.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/tests/test_vector_stores_lantern.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.lantern import LanternVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in LanternVectorStore.__mro__] assert BasePydanticVectorStore.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/llama_index/vector_stores/lantern/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/llama_index/vector_stores/lantern/__init__.py
from llama_index.vector_stores.lantern.base import LanternVectorStore __all__ = ["LanternVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/llama_index/vector_stores/lantern/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lantern/llama_index/vector_stores/lantern/base.py
import logging from typing import TYPE_CHECKING, Any, List, NamedTuple, Optional, Type import asyncpg # noqa import psycopg2 # noqa import sqlalchemy import sqlalchemy.ext.asyncio # noqa from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode, TextNode fro...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/tests/test_vector_stores_milvus.py
llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/tests/test_vector_stores_milvus.py
from typing import List, Dict from unittest.mock import patch, MagicMock import pymilvus import pytest from llama_index.core.schema import TextNode, NodeRelationship, RelatedNodeInfo from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, FilterCondition, FilterOperator, MetadataFi...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/tests/conftest.py
# pants requires this import to recognize the dep import pytest_asyncio # noqa: F401
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/llama_index/vector_stores/milvus/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/llama_index/vector_stores/milvus/utils.py
from abc import ABC, abstractmethod from typing import List, Dict, Any, Optional, Union import uuid import sys import logging from enum import Enum from llama_index.core.bridge.pydantic import ( BaseModel, StrictFloat, StrictInt, StrictStr, ) from typing import ( Dict, List, Optional, Un...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/llama_index/vector_stores/milvus/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/llama_index/vector_stores/milvus/__init__.py
from llama_index.vector_stores.milvus.base import MilvusVectorStore, IndexManagement __all__ = ["MilvusVectorStore", "IndexManagement"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/llama_index/vector_stores/milvus/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-milvus/llama_index/vector_stores/milvus/base.py
""" Milvus vector store index. An index that is built within Milvus. """ import logging from typing import Any, Dict, List, Optional, Union, Tuple from copy import deepcopy from enum import Enum from llama_index.core.bridge.pydantic import Field, PrivateAttr from llama_index.core.indices.query.embedding_utils impor...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
true
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-timescalevector/llama_index/vector_stores/timescalevector/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-timescalevector/llama_index/vector_stores/timescalevector/__init__.py
from llama_index.vector_stores.timescalevector.base import TimescaleVectorStore __all__ = ["TimescaleVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-timescalevector/llama_index/vector_stores/timescalevector/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-timescalevector/llama_index/vector_stores/timescalevector/base.py
import enum import uuid from datetime import timedelta from typing import Any, Dict, List, Optional, ClassVar from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.constants import DEFAULT_EMBEDDING_DIM from llama_index.core.schema import BaseNode, MetadataMode, TextNode from llama_index.core....
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vearch/tests/test_vector_stores_vearch.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vearch/tests/test_vector_stores_vearch.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.vearch import VearchVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in VearchVectorStore.__mro__] assert BasePydanticVectorStore.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vearch/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vearch/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vearch/llama_index/vector_stores/vearch/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vearch/llama_index/vector_stores/vearch/__init__.py
from llama_index.vector_stores.vearch.base import VearchVectorStore __all__ = ["VearchVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vearch/llama_index/vector_stores/vearch/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vearch/llama_index/vector_stores/vearch/base.py
import logging import typing import uuid from typing import Any, Iterable, List, Optional import numpy as np from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode, TextNode from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/tests/test_vector_stores_elasticsearch.py
llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/tests/test_vector_stores_elasticsearch.py
import aiohttp # noqa import logging import os import re import uuid from typing import AsyncGenerator, List, Generator from elasticsearch import AsyncElasticsearch, ConnectionError import pandas as pd import pytest import pytest_asyncio from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNod...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/tests/conftest.py
# pants requires this import to recognize the dep import pytest_asyncio # noqa: F401
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/utils.py
from typing import Any, Dict, Optional from elasticsearch import AsyncElasticsearch, Elasticsearch from logging import getLogger from llama_index.core.schema import BaseNode, TextNode from llama_index.core.vector_stores.utils import metadata_dict_to_node logger = getLogger(__name__) def get_user_agent() -> str: ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/__init__.py
from llama_index.vector_stores.elasticsearch.base import ElasticsearchStore from elasticsearch.helpers.vectorstore import ( AsyncBM25Strategy, AsyncSparseVectorStrategy, AsyncDenseVectorStrategy, AsyncRetrievalStrategy, ) __all__ = [ "AsyncBM25Strategy", "AsyncDenseVectorStrategy", "AsyncR...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/base.py
"""Elasticsearch vector store.""" import asyncio from logging import getLogger from typing import Any, Callable, Dict, List, Literal, Optional, Union import nest_asyncio from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode from llama_index.core.vector_sto...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/tests/test_vector_stores_upstash.py
llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/tests/test_vector_stores_upstash.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.upstash import UpstashVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in UpstashVectorStore.__mro__] assert BasePydanticVectorStore.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/tests/test_upstash.py
llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/tests/test_upstash.py
import os from importlib.util import find_spec from typing import List import time import pytest from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.core.vector_stores.types import ( VectorStoreQuery, MetadataFilter, MetadataFilters, FilterOperator, Filte...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/llama_index/vector_stores/upstash/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/llama_index/vector_stores/upstash/__init__.py
from llama_index.vector_stores.upstash.base import UpstashVectorStore __all__ = ["UpstashVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/llama_index/vector_stores/upstash/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-upstash/llama_index/vector_stores/upstash/base.py
""" Upstash vector store index. An index that is built with Upstash Vector. https://upstash.com/docs/vector/overall/getstarted """ import logging from typing import Any, List from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode from llama_index.core.utils import iter...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/tests/test_vector_stores_docarray.py
llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/tests/test_vector_stores_docarray.py
from llama_index.core.vector_stores.types import VectorStore from llama_index.vector_stores.docarray import ( DocArrayHnswVectorStore, DocArrayInMemoryVectorStore, ) def test_class(): names_of_base_classes = [b.__name__ for b in DocArrayHnswVectorStore.__mro__] assert VectorStore.__name__ in names_of_...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/llama_index/vector_stores/docarray/in_memory.py
llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/llama_index/vector_stores/docarray/in_memory.py
from typing import Any, List, Literal, Optional import fsspec from llama_index.vector_stores.docarray.base import DocArrayVectorStore class DocArrayInMemoryVectorStore(DocArrayVectorStore): """ Class representing a DocArray In-Memory vector store. This class is a document index provided by Docarray that...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/llama_index/vector_stores/docarray/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/llama_index/vector_stores/docarray/__init__.py
from llama_index.vector_stores.docarray.hnsw import DocArrayHnswVectorStore from llama_index.vector_stores.docarray.in_memory import DocArrayInMemoryVectorStore __all__ = [ "DocArrayInMemoryVectorStore", "DocArrayHnswVectorStore", ]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/llama_index/vector_stores/docarray/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/llama_index/vector_stores/docarray/base.py
import logging from abc import ABC, abstractmethod from typing import Any, Dict, List, Optional, Type import numpy as np from llama_index.core.bridge.pydantic import Field from llama_index.core.schema import BaseNode, MetadataMode, TextNode from llama_index.core.vector_stores.types import ( VectorStore, Vector...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/llama_index/vector_stores/docarray/hnsw.py
llama-index-integrations/vector_stores/llama-index-vector-stores-docarray/llama_index/vector_stores/docarray/hnsw.py
import json import os from typing import Any, List, Literal from llama_index.vector_stores.docarray.base import DocArrayVectorStore class DocArrayHnswVectorStore(DocArrayVectorStore): """ Class representing a DocArray HNSW vector store. This class is a lightweight Document Index implementation provided ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-db2/tests/test_vector_stores_db2.py
llama-index-integrations/vector_stores/llama-index-vector-stores-db2/tests/test_vector_stores_db2.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.db2 import ( DB2LlamaVS, create_table, table_exists, drop_table, DistanceStrategy, ) from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.core.vector_s...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-db2/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-db2/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-db2/llama_index/vector_stores/db2/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-db2/llama_index/vector_stores/db2/__init__.py
from llama_index.vector_stores.db2.base import ( DB2LlamaVS, create_table, table_exists, drop_table, DistanceStrategy, ) __all__ = [ "DB2LlamaVS", "create_table", "table_exists", "drop_table", "DistanceStrategy", ]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-db2/llama_index/vector_stores/db2/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-db2/llama_index/vector_stores/db2/base.py
# OopCompanion:suppressRename from __future__ import annotations import functools import json import logging import math import os from enum import Enum from typing import ( TYPE_CHECKING, Any, Callable, Dict, List, Optional, Type, TypeVar, cast, ) from llama_index.core.schema impo...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-hnswlib/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-hnswlib/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-hnswlib/tests/test_vector_stores_hnswlib.py
llama-index-integrations/vector_stores/llama-index-vector-stores-hnswlib/tests/test_vector_stores_hnswlib.py
from typing import List import pytest from llama_index.core.schema import TextNode from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, VectorStoreQuery, ) from llama_index.vector_stores.hnswlib import HnswlibVectorStore import os @pytest.fixture(scope="session") def node_embeddings()...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-hnswlib/llama_index/vector_stores/hnswlib/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-hnswlib/llama_index/vector_stores/hnswlib/__init__.py
from llama_index.vector_stores.hnswlib.base import HnswlibVectorStore __all__ = ["HnswlibVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-hnswlib/llama_index/vector_stores/hnswlib/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-hnswlib/llama_index/vector_stores/hnswlib/base.py
""" Hnswlib Vector store index. An index that is built on top of an existing vector store. """ import json import logging import os from pathlib import Path from typing import Any, List, Optional, cast, Literal import fsspec import numpy as np from fsspec.implementations.local import LocalFileSystem from llama_ind...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-oceanbase/tests/test_vector_stores_oceanbase.py
llama-index-integrations/vector_stores/llama-index-vector-stores-oceanbase/tests/test_vector_stores_oceanbase.py
import logging import os from typing import List import pytest from llama_index.vector_stores.oceanbase import OceanBaseVectorStore try: from pyobvector import ObVecClient OB_URI = os.getenv("OB_URI", "127.0.0.1:2881") OB_USER = os.getenv("OB_USER", "root@test") OB_PWD = os.getenv("OB_PWD", "") O...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-oceanbase/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-oceanbase/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-oceanbase/llama_index/vector_stores/oceanbase/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-oceanbase/llama_index/vector_stores/oceanbase/__init__.py
from llama_index.vector_stores.oceanbase.base import OceanBaseVectorStore __all__ = ["OceanBaseVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-oceanbase/llama_index/vector_stores/oceanbase/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-oceanbase/llama_index/vector_stores/oceanbase/base.py
"""OceanBase Vector Store.""" import math import logging import json from typing import Any, Optional, List from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.utils import iter_batch from llama_index.core.schema import BaseNode, MetadataMode from llama_index.core.vector_stores.types import...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-singlestoredb/tests/test_vector_stores_singlestoredb.py
llama-index-integrations/vector_stores/llama-index-vector-stores-singlestoredb/tests/test_vector_stores_singlestoredb.py
from unittest.mock import MagicMock, patch import pytest import json from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, VectorStoreQuery, ) from llama_index.vector_stores.singlestoredb import SingleStoreVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in Sin...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-singlestoredb/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-singlestoredb/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-singlestoredb/llama_index/vector_stores/singlestoredb/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-singlestoredb/llama_index/vector_stores/singlestoredb/__init__.py
from llama_index.vector_stores.singlestoredb.base import SingleStoreVectorStore __all__ = ["SingleStoreVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-singlestoredb/llama_index/vector_stores/singlestoredb/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-singlestoredb/llama_index/vector_stores/singlestoredb/base.py
import json import logging import re from typing import Any, List, Optional, Sequence from llama_index.core.schema import BaseNode, MetadataMode from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, VectorStoreQuery, VectorStoreQueryResult, ) from llama_index.core.vector_stores.utils ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-s3/tests/test_s3_vector_store.py
llama-index-integrations/vector_stores/llama-index-vector-stores-s3/tests/test_s3_vector_store.py
import boto3 import os from llama_index.core.vector_stores.types import VectorStoreQuery import pytest import uuid from typing import List from llama_index.core.schema import TextNode from llama_index.core.vector_stores.types import MetadataFilters, MetadataFilter from llama_index.vector_stores.s3 import S3VectorStore...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-s3/llama_index/vector_stores/s3/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-s3/llama_index/vector_stores/s3/__init__.py
from llama_index.vector_stores.s3.base import S3VectorStore __all__ = ["S3VectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-s3/llama_index/vector_stores/s3/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-s3/llama_index/vector_stores/s3/base.py
""" S3 vector store index. An index that is built on top of an existing S3Vectors collection. """ import asyncio import boto3 import logging import time from typing import Any, List, Optional, Tuple from llama_index.core.bridge.pydantic import Field, PrivateAttr from llama_index.core.schema import BaseNode, TextNod...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/tests/test_vector_stores_vertexaivectorsearch.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/tests/test_vector_stores_vertexaivectorsearch.py
"""Test Vertex AI Vector Store Vector Search functionality.""" import os import uuid import hashlib from typing import List from unittest.mock import patch, MagicMock import pytest from llama_index.core.schema import MetadataMode, TextNode, Document from llama_index.core.vector_stores.types import BasePydanticVecto...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/_sdk_manager.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/_sdk_manager.py
from typing import Union from google.oauth2.service_account import Credentials # type: ignore from google.cloud import aiplatform, storage from google.cloud.aiplatform import telemetry from google.cloud.aiplatform.matching_engine import ( MatchingEngineIndex, MatchingEngineIndexEndpoint, ) from llama_index.v...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/utils.py
""" Vertex AI Vector Search specific serializers for LlamaIndex data structures. Contain conversion to and from dataclasses that LlamaIndex uses. """ import json import logging import warnings from importlib import metadata from typing import Any, Dict, List, Optional, Union, Tuple import uuid from llama_index.co...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/__init__.py
from llama_index.vector_stores.vertexaivectorsearch.base import VertexAIVectorStore __all__ = ["VertexAIVectorStore"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/base.py
""" Vertex AI Vector store index. An index that is built on top of an existing vector store. """ import logging import os from typing import Any, List, Optional, Literal, cast from llama_index.core.bridge.pydantic import Field, PrivateAttr from llama_index.core.schema import BaseNode from llama_index.core.vector_st...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/_v2_operations.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/llama_index/vector_stores/vertexaivectorsearch/_v2_operations.py
""" V2 operations for Vertex AI Vector Search. This module contains all v2-specific operations and is imported lazily only when api_version="v2" is used. """ import logging import time from functools import wraps from typing import Any, Callable, List, Optional, TypeVar from llama_index.core.schema import BaseNode, ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/vector_stores/llama-index-vector-stores-tablestore/tests/test_vector_stores_tablestore.py
llama-index-integrations/vector_stores/llama-index-vector-stores-tablestore/tests/test_vector_stores_tablestore.py
import os import pytest import tablestore from llama_index.core import MockEmbedding from llama_index.core.schema import TextNode from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, VectorStoreQuery, MetadataFilters, MetadataFilter, FilterOperator, FilterCondition, ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false