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-vespa/tests/test_vespavectorstore.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vespa/tests/test_vespavectorstore.py
import asyncio import pytest from llama_index.core.schema import TextNode from llama_index.core.vector_stores.types import ( VectorStoreQuery, VectorStoreQueryMode, ) from vespa.application import ApplicationPackage from llama_index.vector_stores.vespa import VespaVectorStore, hybrid_template try: # Shoul...
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-vespa/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vespa/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-vespa/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vespa/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-vespa/llama_index/vector_stores/vespa/templates.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vespa/llama_index/vector_stores/vespa/templates.py
try: from vespa.package import ( ApplicationPackage, Field, Schema, Document, HNSW, RankProfile, Component, Parameter, FieldSet, GlobalPhaseRanking, Function, ) except ImportError: raise ModuleNotFoundError( "pyv...
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-vespa/llama_index/vector_stores/vespa/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vespa/llama_index/vector_stores/vespa/__init__.py
from llama_index.vector_stores.vespa.base import ( VespaVectorStore, ) from llama_index.vector_stores.vespa.templates import hybrid_template __all__ = ["VespaVectorStore", "hybrid_template"]
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-vespa/llama_index/vector_stores/vespa/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-vespa/llama_index/vector_stores/vespa/base.py
"""Vespa vector store.""" from typing import Any, List, Optional, Callable from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, VectorStoreQuery, VectorStoreQueryMode,...
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-openGauss/tests/test_opengauss.py
llama-index-integrations/vector_stores/llama-index-vector-stores-openGauss/tests/test_opengauss.py
import pytest from typing import Any, Dict, Generator, List, Union import asyncio from llama_index.core.schema import TextNode, NodeRelationship, RelatedNodeInfo from llama_index.core.vector_stores.types import ( VectorStoreQuery, VectorStoreQueryMode, ) from llama_index.vector_stores.openGauss import OpenGauss...
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-openGauss/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-openGauss/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-openGauss/tests/test_vector_stores_opengauss.py
llama-index-integrations/vector_stores/llama-index-vector-stores-openGauss/tests/test_vector_stores_opengauss.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.openGauss import OpenGaussStore def test_class(): names_of_base_classes = [b.__name__ for b in OpenGaussStore.__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-openGauss/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-openGauss/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-openGauss/llama_index/vector_stores/openGauss/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-openGauss/llama_index/vector_stores/openGauss/__init__.py
from llama_index.vector_stores.openGauss.base import OpenGaussStore __all__ = ["OpenGaussStore"]
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-openGauss/llama_index/vector_stores/openGauss/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-openGauss/llama_index/vector_stores/openGauss/base.py
import logging from llama_index.vector_stores.postgres.base import PGVectorStore from typing import ( Any, NamedTuple, Type, Optional, Union, Set, Dict, List, Tuple, Literal, ) from llama_index.core.vector_stores.types import ( MetadataFilters, ) import sqlalchemy _logger = ...
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-oracledb/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-oracledb/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-oracledb/tests/test_vector_stores_orallamavs.py
llama-index-integrations/vector_stores/llama-index-vector-stores-oracledb/tests/test_vector_stores_orallamavs.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.oracledb import OraLlamaVS def test_class(): names_of_base_classes = [b.__name__ for b in OraLlamaVS.__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-oracledb/llama_index/vector_stores/oracledb/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-oracledb/llama_index/vector_stores/oracledb/__init__.py
from llama_index.vector_stores.oracledb.base import OraLlamaVS, DistanceStrategy __all__ = ["OraLlamaVS", "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-oracledb/llama_index/vector_stores/oracledb/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-oracledb/llama_index/vector_stores/oracledb/base.py
# OopCompanion:suppressRename from __future__ import annotations import array import functools import json import logging import math import os import re import uuid from enum import Enum from typing import ( TYPE_CHECKING, Any, Callable, ClassVar, Dict, List, Optional, Tuple, Type,...
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-solr/tests/test_solr_vector_store.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/tests/test_solr_vector_store.py
"""Test OSS Apache Solr vector store.""" from typing import Any, Optional from unittest.mock import AsyncMock, MagicMock import pytest from llama_index.core.schema import BaseNode, TextNode from llama_index.core.vector_stores.types import ( FilterCondition, FilterOperator, MetadataFilter, MetadataFil...
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-solr/tests/test_types.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/tests/test_types.py
import pytest from llama_index.vector_stores.solr.types import BoostedTextField, SolrQueryDict @pytest.mark.parametrize( ("field", "boost", "expected"), [ ("title", 1.0, "title"), ("body", 2.5, "body^2.5"), ("summary", 0.8, "summary^0.8"), ("content", 0.0, "content^0.0"), ...
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-solr/tests/test_async_client.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/tests/test_async_client.py
import asyncio import sys from typing import Any, Optional from unittest import mock from unittest.mock import MagicMock, patch import aiohttp import aiosolr import pytest from pydantic import ValidationError from llama_index.vector_stores.solr.client import ( AsyncSolrClient, SolrSelectResponse, SolrUpda...
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-solr/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/tests/conftest.py
from collections.abc import Iterator from datetime import date, datetime, timezone try: from datetime import UTC except ImportError: UTC = timezone.utc from typing import Any, Optional, Union from uuid import uuid4 from zoneinfo import ZoneInfo import aiosolr import numpy as np import pysolr import pytest im...
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-solr/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/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-solr/tests/test_client_utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/tests/test_client_utils.py
from datetime import date, datetime, timezone try: from datetime import UTC except ImportError: UTC = timezone.utc from typing import Any, Union from zoneinfo import ZoneInfo import pytest from llama_index.vector_stores.solr.client.utils import ( format_datetime_for_solr, prepare_document_for_solr, )...
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-solr/tests/test_sync_client.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/tests/test_sync_client.py
import time from typing import Any, Optional from unittest import mock from unittest.mock import MagicMock, patch import pysolr import pytest import requests from pydantic import ValidationError from llama_index.vector_stores.solr.client import ( SolrSelectResponse, SolrUpdateResponse, SyncSolrClient, ) f...
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-solr/tests/test_solr_vector_store_query_utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/tests/test_solr_vector_store_query_utils.py
"""Testing solr vector store utils.""" from typing import Union import pytest from llama_index.core.vector_stores.types import ( FilterCondition, FilterOperator, MetadataFilter, MetadataFilters, ) from llama_index.vector_stores.solr.query_utils import ( recursively_unpack_filters, ) @pytest.mar...
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-solr/tests/integration/test_solr_vector_store.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/tests/integration/test_solr_vector_store.py
""" end-to-end integration tests for ApacheSolrVectorStore. Functionality Covered: 1. Index (add / async_add) a handful of nodes with metadata + embeddings. 2. Retrieve via: - Match all (*:*) raw query (implicit through vector store query without embedding) - Dense KNN query (VectorStoreQueryMode.DEFAULT) - 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-solr/llama_index/vector_stores/solr/constants.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/constants.py
""" Constants for Solr vector store. This module contains configuration constants, escape rules, and field definitions used throughout the Solr vector store implementation. These constants ensure consistent behavior across different components and provide centralized configuration for Solr-specific operations. The cons...
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-solr/llama_index/vector_stores/solr/query_utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/query_utils.py
""" Utilities for use with the Apache Solr Vector Store integration. This module provides utility functions for working with Solr in the context of LlamaIndex vector stores. It includes functions for: - Query escaping and preprocessing - Node relationship serialization/deserialization - Metadata filter conversion to So...
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-solr/llama_index/vector_stores/solr/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/__init__.py
from llama_index.vector_stores.solr.base import ApacheSolrVectorStore from llama_index.vector_stores.solr.client import AsyncSolrClient, SyncSolrClient from llama_index.vector_stores.solr.types import BoostedTextField __all__ = [ "ApacheSolrVectorStore", "AsyncSolrClient", "BoostedTextField", "SyncSolr...
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-solr/llama_index/vector_stores/solr/types.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/types.py
"""Shared type declarations for the Apache Solr vector store integration.""" from typing import TypedDict from pydantic import BaseModel from typing_extensions import NotRequired class BoostedTextField(BaseModel): """ A text field with an optional boost value for Solr queries. This model represents a 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-solr/llama_index/vector_stores/solr/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/base.py
"""Apache Solr vector store.""" import asyncio import logging import time from collections.abc import Sequence from typing import Annotated, Any, ClassVar, Optional, Union from annotated_types import MinLen from pydantic import ( ConfigDict, Field, SkipValidation, field_validator, ) from llama_index....
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-solr/llama_index/vector_stores/solr/client/_base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/client/_base.py
"""Sync/async clients for interacting with Apache Solr.""" from typing import Any, Optional from llama_index.vector_stores.solr.constants import SolrConstants class _BaseSolrClient: """Base Solr client for shared functionality.""" def __init__( self, base_url: str, request_timeout_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-solr/llama_index/vector_stores/solr/client/async_.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/client/async_.py
"""An asynchronous Solr client implementation using ``aiosolr`` under the hood.""" import asyncio import logging import sys import time from asyncio import Task from collections.abc import Mapping, Sequence from typing import Any, Union, cast from urllib.parse import urlparse import aiosolr from pydantic import Valid...
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-solr/llama_index/vector_stores/solr/client/sync.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/client/sync.py
"""A synchronous Solr client implementation using ``pysolr`` under the hood.""" import logging import time from collections.abc import Mapping, Sequence from typing import Any, Optional from xml.etree.ElementTree import ParseError import pysolr from pydantic import ValidationError from llama_index.vector_stores.solr...
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-solr/llama_index/vector_stores/solr/client/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/client/utils.py
"""Utilities for use with Solr clients, particularly for preparing data for ingestion.""" from datetime import date, datetime, timezone try: from datetime import UTC except ImportError: UTC = timezone.utc from collections.abc import Mapping from typing import Any, Union, cast import numpy as np 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-solr/llama_index/vector_stores/solr/client/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/client/__init__.py
from llama_index.vector_stores.solr.client.async_ import AsyncSolrClient from llama_index.vector_stores.solr.client.responses import ( SolrResponseHeader, SolrSelectResponse, SolrUpdateResponse, ) from llama_index.vector_stores.solr.client.sync import SyncSolrClient __all__ = [ "AsyncSolrClient", "...
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-solr/llama_index/vector_stores/solr/client/responses.py
llama-index-integrations/vector_stores/llama-index-vector-stores-solr/llama_index/vector_stores/solr/client/responses.py
""" Pydantic models for Solr responses. This includes utilities for bridging between responses from ``pysolr`` and ``aiosolr``. """ from typing import Any, ClassVar, Optional, Union from xml.etree import ElementTree as ET import aiosolr import pysolr from pydantic import BaseModel, ConfigDict, Field, alias_generator...
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-pinecone/tests/test_vector_stores_pinecone.py
llama-index-integrations/vector_stores/llama-index-vector-stores-pinecone/tests/test_vector_stores_pinecone.py
import os import pytest import time import uuid import pinecone.db_data from pinecone import Pinecone, ServerlessSpec 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_inde...
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-pinecone/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-pinecone/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-pinecone/llama_index/vector_stores/pinecone/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-pinecone/llama_index/vector_stores/pinecone/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: """ Get default tokenizer. NOTE: taken ...
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-pinecone/llama_index/vector_stores/pinecone/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-pinecone/llama_index/vector_stores/pinecone/__init__.py
from llama_index.vector_stores.pinecone.base import PineconeVectorStore __all__ = ["PineconeVectorStore"]
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-pinecone/llama_index/vector_stores/pinecone/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-pinecone/llama_index/vector_stores/pinecone/base.py
""" Pinecone Vector store index. An index that is built on top of an existing vector store. """ import logging from typing import Any, Callable, Dict, List, Optional, cast from llama_index.core.base.embeddings.base_sparse import BaseSparseEmbedding from llama_index.core.bridge.pydantic import PrivateAttr 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-zep/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-zep/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-zep/tests/test_vector_stores_zep.py
llama-index-integrations/vector_stores/llama-index-vector-stores-zep/tests/test_vector_stores_zep.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.zep import ZepVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in ZepVectorStore.__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-zep/llama_index/vector_stores/zep/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-zep/llama_index/vector_stores/zep/__init__.py
from llama_index.vector_stores.zep.base import ZepVectorStore __all__ = ["ZepVectorStore"]
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-zep/llama_index/vector_stores/zep/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-zep/llama_index/vector_stores/zep/base.py
import logging from typing import Any, Dict, List, Optional, Tuple, Union import zep_python 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 ( MetadataFilters, 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-hologres/tests/test_hologres.py
llama-index-integrations/vector_stores/llama-index-vector-stores-hologres/tests/test_hologres.py
from llama_index.vector_stores.hologres import HologresVectorStore from llama_index.core.schema import TextNode from llama_index.core.vector_stores.types import VectorStoreQuery import logging logger = logging.getLogger(__name__) def _get_hologres_vector_store(): test_hologres_config = { "host": "<host>"...
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-hologres/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-hologres/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-hologres/tests/test_vector_stores_hologres.py
llama-index-integrations/vector_stores/llama-index-vector-stores-hologres/tests/test_vector_stores_hologres.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.hologres import HologresVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in HologresVectorStore.__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-hologres/llama_index/vector_stores/hologres/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-hologres/llama_index/vector_stores/hologres/__init__.py
from llama_index.vector_stores.hologres.base import HologresVectorStore __all__ = ["HologresVectorStore"]
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-hologres/llama_index/vector_stores/hologres/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-hologres/llama_index/vector_stores/hologres/base.py
""" Hologres Vector store index. Vector store using hologres back end. """ import logging import math from typing import Any, List, cast, Dict from hologres_vector import HologresVector from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, TextNode, MetadataMode from 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-gel/tests/test_vector_stores_gel.py
llama-index-integrations/vector_stores/llama-index-vector-stores-gel/tests/test_vector_stores_gel.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.gel import GelVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in GelVectorStore.__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-gel/tests/test_gel.py
llama-index-integrations/vector_stores/llama-index-vector-stores-gel/tests/test_gel.py
import subprocess import pytest import pytest_asyncio from llama_index.core.schema import TextNode from llama_index.core.vector_stores.types import ( VectorStoreQuery, FilterOperator, FilterCondition, MetadataFilters, MetadataFilter, ) from llama_index.vector_stores.gel import GelVectorStore, get_f...
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-gel/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-gel/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-gel/llama_index/vector_stores/gel/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-gel/llama_index/vector_stores/gel/__init__.py
from llama_index.vector_stores.gel.base import GelVectorStore, get_filter_clause __all__ = ["GelVectorStore", "get_filter_clause"]
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-gel/llama_index/vector_stores/gel/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-gel/llama_index/vector_stores/gel/base.py
import logging from typing import ( Any, List, Optional, Sequence, ) from llama_index.core.schema import BaseNode, TextNode from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, FilterOperator, FilterCondition, MetadataFilters, MetadataFilter, VectorStoreQ...
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-tencentvectordb/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-tencentvectordb/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-tencentvectordb/tests/test_vector_stores_tencentvectordb.py
llama-index-integrations/vector_stores/llama-index-vector-stores-tencentvectordb/tests/test_vector_stores_tencentvectordb.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.tencentvectordb import ( TencentVectorDB, CollectionParams, FilterField, ) def test_class(): names_of_base_classes = [b.__name__ for b in TencentVectorDB.__mro__] assert 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-tencentvectordb/llama_index/vector_stores/tencentvectordb/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-tencentvectordb/llama_index/vector_stores/tencentvectordb/__init__.py
from llama_index.vector_stores.tencentvectordb.base import ( TencentVectorDB, CollectionParams, FilterField, ) __all__ = ["TencentVectorDB", "CollectionParams", "FilterField"]
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-tencentvectordb/llama_index/vector_stores/tencentvectordb/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-tencentvectordb/llama_index/vector_stores/tencentvectordb/base.py
""" Tencent Vector store index. An index that is built with Tencent Vector Database. """ import json from typing import Any, Dict, List, Optional from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import ( BaseNode, NodeRelationship, RelatedNodeInfo, TextNode, ) fr...
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-chroma/tests/test_mmr.py
llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/tests/test_mmr.py
import pytest import chromadb from llama_index.vector_stores.chroma import ChromaVectorStore from llama_index.core.vector_stores.types import VectorStoreQuery, VectorStoreQueryMode import uuid def _build_simple_collection(): client = chromadb.EphemeralClient() name = f"chroma_mmr_test_{uuid.uuid4().hex[:8]}"...
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-chroma/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/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-chroma/tests/test_chromadb.py
llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/tests/test_chromadb.py
import os from typing import Dict, List, Generator import pytest from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.vector_stores.chroma import ChromaVectorStore from llama_index.core.vector_stores.types import ( VectorStoreQuery, MetadataFilter, MetadataFilter...
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-chroma/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/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-chroma/tests/test_vector_stores_chroma.py
llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/tests/test_vector_stores_chroma.py
from dataclasses import dataclass from typing import Any, Dict, Optional from llama_index.core.schema import ImageNode from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.core.vector_stores.utils import node_to_metadata_dict from llama_index.vector_stores.chroma import ChromaVecto...
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-chroma/llama_index/vector_stores/chroma/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/llama_index/vector_stores/chroma/__init__.py
from llama_index.vector_stores.chroma.base import ChromaVectorStore __all__ = ["ChromaVectorStore"]
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-chroma/llama_index/vector_stores/chroma/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/llama_index/vector_stores/chroma/base.py
"""Chroma vector store.""" import logging import math from typing import Any, Dict, Generator, List, Optional, Union, cast import chromadb from chromadb.api.models.Collection import Collection from llama_index.core.bridge.pydantic import Field, PrivateAttr from llama_index.core.indices.query.embedding_utils import ge...
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-clickhouse/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-clickhouse/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-clickhouse/tests/test_clickhouse.py
llama-index-integrations/vector_stores/llama-index-vector-stores-clickhouse/tests/test_clickhouse.py
import logging import uuid from typing import Any, Generator, List import clickhouse_connect import pytest from llama_index.core.schema import ( NodeRelationship, RelatedNodeInfo, TextNode, ) from llama_index.core.vector_stores.types import ( ExactMatchFilter, MetadataFilters, VectorStoreQuery, ...
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-clickhouse/llama_index/vector_stores/clickhouse/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-clickhouse/llama_index/vector_stores/clickhouse/__init__.py
from llama_index.vector_stores.clickhouse.base import ClickHouseVectorStore __all__ = ["ClickHouseVectorStore"]
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-clickhouse/llama_index/vector_stores/clickhouse/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-clickhouse/llama_index/vector_stores/clickhouse/base.py
""" ClickHouse vector store. An index that is built on top of an existing ClickHouse cluster. For current documentation, refer to : https://clickhouse.com/docs/engines/table-engines/mergetree-family/annindexes """ import importlib import json import logging import re from typing import Any, Dict, List, Optional, cast...
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-databricks/llama_index/vector_stores/databricks/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/llama_index/vector_stores/databricks/__init__.py
from llama_index.vector_stores.databricks.base import ( DatabricksVectorSearch, ) __all__ = ["DatabricksVectorSearch"]
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-databricks/llama_index/vector_stores/databricks/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/llama_index/vector_stores/databricks/base.py
""" Databricks Vector Search index. Supports Delta Sync indexes and Direct Access indexes in Databricks Vector Search. """ import json import logging from typing import Any, List, Dict, Optional, cast from enum import Enum from databricks.vector_search.client import VectorSearchIndex from llama_index.core.bridge.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-kdbai/llama_index/vector_stores/kdbai/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-kdbai/llama_index/vector_stores/kdbai/utils.py
from typing import Dict import logging logger = logging.getLogger(__name__) def default_sparse_encoder(text: str) -> Dict[int, int]: try: from transformers import BertTokenizer from collections import Counter except ImportError: raise ImportError( "Could not import transfo...
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-kdbai/llama_index/vector_stores/kdbai/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-kdbai/llama_index/vector_stores/kdbai/__init__.py
from llama_index.vector_stores.kdbai.base import KDBAIVectorStore __all__ = ["KDBAIVectorStore"]
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-kdbai/llama_index/vector_stores/kdbai/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-kdbai/llama_index/vector_stores/kdbai/base.py
""" KDB.AI vector store index. An index that is built within KDB.AI. """ import logging from typing import Any, List, Callable, Optional import pandas as pd from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, TextNode from llama_index.core.vector_stores.types 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-relyt/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-relyt/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-relyt/tests/test_vector_stores_relyt.py
llama-index-integrations/vector_stores/llama-index-vector-stores-relyt/tests/test_vector_stores_relyt.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.relyt import RelytVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in RelytVectorStore.__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-relyt/llama_index/vector_stores/relyt/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-relyt/llama_index/vector_stores/relyt/__init__.py
from llama_index.vector_stores.relyt.base import RelytVectorStore __all__ = ["RelytVectorStore"]
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-relyt/llama_index/vector_stores/relyt/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-relyt/llama_index/vector_stores/relyt/base.py
import logging from typing import Any, List from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, VectorStoreQuery, VectorStoreQueryResult, ) from llama_index.core.vecto...
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-dynamodb/tests/test_vector_stores_dynamodb.py
llama-index-integrations/vector_stores/llama-index-vector-stores-dynamodb/tests/test_vector_stores_dynamodb.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.dynamodb import DynamoDBVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in DynamoDBVectorStore.__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-dynamodb/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-dynamodb/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-dynamodb/llama_index/vector_stores/dynamodb/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-dynamodb/llama_index/vector_stores/dynamodb/__init__.py
from llama_index.vector_stores.dynamodb.base import DynamoDBVectorStore __all__ = ["DynamoDBVectorStore"]
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-dynamodb/llama_index/vector_stores/dynamodb/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-dynamodb/llama_index/vector_stores/dynamodb/base.py
"""DynamoDB vector store index.""" from __future__ import annotations from logging import getLogger from typing import Any, Dict, List, cast from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.indices.query.embedding_utils import ( get_top_k_embeddings, get_top_k_embeddings_learner...
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-typesense/tests/test_vector_stores_typesense.py
llama-index-integrations/vector_stores/llama-index-vector-stores-typesense/tests/test_vector_stores_typesense.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.typesense import TypesenseVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in TypesenseVectorStore.__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-typesense/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-typesense/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-typesense/llama_index/vector_stores/typesense/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-typesense/llama_index/vector_stores/typesense/__init__.py
from llama_index.vector_stores.typesense.base import TypesenseVectorStore __all__ = ["TypesenseVectorStore"]
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-typesense/llama_index/vector_stores/typesense/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-typesense/llama_index/vector_stores/typesense/base.py
""" Typesense Vector store index. An index that is built on top of an existing vector store. """ import logging from typing import Any, Callable, List, Optional, cast from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode, TextNode from llama_index.core.u...
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-cassandra/tests/test_cassandra.py
llama-index-integrations/vector_stores/llama-index-vector-stores-cassandra/tests/test_cassandra.py
import sys import unittest from unittest.mock import MagicMock import pytest from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.core.vector_stores.types import VectorStoreQuery, VectorStoreQueryMode from llama_index.vector_stores.cassandra import CassandraVectorStore try:...
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-cassandra/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-cassandra/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-cassandra/tests/test_vector_stores_cassandra.py
llama-index-integrations/vector_stores/llama-index-vector-stores-cassandra/tests/test_vector_stores_cassandra.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.cassandra import CassandraVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in CassandraVectorStore.__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-cassandra/llama_index/vector_stores/cassandra/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-cassandra/llama_index/vector_stores/cassandra/__init__.py
from llama_index.vector_stores.cassandra.base import CassandraVectorStore __all__ = ["CassandraVectorStore"]
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-cassandra/llama_index/vector_stores/cassandra/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-cassandra/llama_index/vector_stores/cassandra/base.py
""" Cassandra / Astra DB Vector store index. An index based on a DB table with vector search capabilities, powered by the cassIO library """ import logging from typing import Any, Dict, Iterable, List, Optional, TypeVar, cast from cassio.table import ClusteredMetadataVectorCassandraTable from llama_index.core.bridg...
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-azureaisearch/tests/test_vector_stores_cogsearch.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azureaisearch/tests/test_vector_stores_cogsearch.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.azureaisearch import AzureAISearchVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in AzureAISearchVectorStore.__mro__] assert BasePydanticVectorStore.__name__ in names_of_base_classe...
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-azureaisearch/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azureaisearch/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-azureaisearch/tests/test_azureaisearch.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azureaisearch/tests/test_azureaisearch.py
import json from typing import Any, List, Optional from unittest.mock import MagicMock, patch import pytest from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.core.vector_stores.types import VectorStoreQuery, VectorStoreQueryMode from llama_index.vector_stores.azureaisear...
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-azureaisearch/llama_index/vector_stores/azureaisearch/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azureaisearch/llama_index/vector_stores/azureaisearch/__init__.py
from llama_index.vector_stores.azureaisearch.base import ( AzureAISearchVectorStore, CognitiveSearchVectorStore, IndexManagement, MetadataIndexFieldType, ) __all__ = [ "AzureAISearchVectorStore", "CognitiveSearchVectorStore", "IndexManagement", "MetadataIndexFieldType", ]
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-azureaisearch/llama_index/vector_stores/azureaisearch/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azureaisearch/llama_index/vector_stores/azureaisearch/base.py
"""Azure AI Search vector store.""" import asyncio import enum import json import logging from enum import auto from typing import Any, Callable, Dict, List, Optional, Tuple, Union from azure.search.documents import SearchClient from azure.search.documents.aio import SearchClient as AsyncSearchClient from azure.searc...
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-azureaisearch/llama_index/vector_stores/azureaisearch/azureaisearch_utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azureaisearch/llama_index/vector_stores/azureaisearch/azureaisearch_utils.py
from typing import Any, Dict, List, Optional, Tuple from llama_index.core.schema import BaseNode, TextNode from llama_index.core.vector_stores.utils import ( metadata_dict_to_node, legacy_metadata_dict_to_node, ) import json import logging logger = logging.getLogger(__name__) def create_node_from_result( ...
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/test_vector_stores_weaviate.py
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/tests/test_vector_stores_weaviate.py
from llama_index.core.schema import ( TextNode, NodeRelationship, RelatedNodeInfo, ) from llama_index.core.schema import TextNode from llama_index.vector_stores.weaviate import ( WeaviateVectorStore, SyncClientNotProvidedError, AsyncClientNotProvidedError, ) import asyncio import pytest import p...
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/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/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