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-mongodb/llama_index/vector_stores/mongodb/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/llama_index/vector_stores/mongodb/__init__.py
from llama_index.vector_stores.mongodb.base import MongoDBAtlasVectorSearch __all__ = ["MongoDBAtlasVectorSearch"]
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-mongodb/llama_index/vector_stores/mongodb/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/llama_index/vector_stores/mongodb/base.py
""" MongoDB Vector store index. An index that is built on top of an existing vector store. """ import logging import os from importlib.metadata import version from typing import Any, Dict, List, Optional, Tuple, cast from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNo...
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-mongodb/llama_index/vector_stores/mongodb/index.py
llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/llama_index/vector_stores/mongodb/index.py
"""utility functions for working with Search Index commands.""" import asyncio import logging from time import monotonic, sleep from typing import Any, Awaitable, Callable, Dict, List, Optional from pymongo.collection import Collection from pymongo.asynchronous.collection import AsyncCollection from pymongo.errors 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-mariadb/tests/test_vector_stores_mariadb.py
llama-index-integrations/vector_stores/llama-index-vector-stores-mariadb/tests/test_vector_stores_mariadb.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.mariadb import MariaDBVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in MariaDBVectorStore.__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-mariadb/tests/test_mariadb.py
llama-index-integrations/vector_stores/llama-index-vector-stores-mariadb/tests/test_mariadb.py
"""Integration tests for llama-index-vector-stores-mariadb.""" from typing import Generator, List import pytest import sqlalchemy from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.core.vector_stores.types import ( FilterCondition, FilterOperator, MetadataFilt...
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-mariadb/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-mariadb/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-mariadb/llama_index/vector_stores/mariadb/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-mariadb/llama_index/vector_stores/mariadb/__init__.py
from llama_index.vector_stores.mariadb.base import MariaDBVectorStore __all__ = ["MariaDBVectorStore"]
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-mariadb/llama_index/vector_stores/mariadb/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-mariadb/llama_index/vector_stores/mariadb/base.py
"""MariaDB Vector Store.""" import json import logging from typing import Any, Dict, List, NamedTuple, Optional, Union from urllib.parse import quote_plus import sqlalchemy from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode from llama_index.core.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-wordlift/tests/test_wordlift.py
llama-index-integrations/vector_stores/llama-index-vector-stores-wordlift/tests/test_wordlift.py
import os import random from typing import List import pytest import requests from docker.models.containers import Container from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.core.vector_stores import ( VectorStoreQuery, MetadataFilters, MetadataFilter, Fi...
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-wordlift/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-wordlift/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-wordlift/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-wordlift/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-wordlift/llama_index/vector_stores/wordlift/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-wordlift/llama_index/vector_stores/wordlift/__init__.py
from llama_index.vector_stores.wordlift.base import WordliftVectorStore __all__ = ["WordliftVectorStore"]
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-wordlift/llama_index/vector_stores/wordlift/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-wordlift/llama_index/vector_stores/wordlift/base.py
import asyncio import json from logging import getLogger from typing import Any, List, Dict, Optional import nest_asyncio import wordlift_client from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode, TextNode from llama_index.core.vector_stores 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-wordlift/llama_index/vector_stores/wordlift/metadata_filters_to_filters.py
llama-index-integrations/vector_stores/llama-index-vector-stores-wordlift/llama_index/vector_stores/wordlift/metadata_filters_to_filters.py
from llama_index.core.vector_stores import ( MetadataFilters, FilterOperator, FilterCondition, ) from wordlift_client import Filter, FilterValue class MetadataFiltersToFilters: @staticmethod def metadata_filters_to_filters(metadata_filters: MetadataFilters): # Return an empty list if there...
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-opensearch/tests/test_opensearch_client.py
llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/tests/test_opensearch_client.py
import asyncio import logging import pytest import time import uuid from datetime import datetime from typing import List, Generator, Set from unittest import mock from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.vector_stores.opensearch import ( OpensearchVectorClie...
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-opensearch/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/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-opensearch/tests/test_vector_stores_opensearch.py
llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/tests/test_vector_stores_opensearch.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.opensearch import ( OpensearchVectorStore, OpensearchVectorClient, ) from llama_index.core.vector_stores.types import MetadataFilter, MetadataFilters from typing import Optional import pytest from unittest.m...
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-opensearch/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-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-opensearch/llama_index/vector_stores/opensearch/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/__init__.py
from llama_index.vector_stores.opensearch.base import ( OpensearchVectorStore, OpensearchVectorClient, ) __all__ = ["OpensearchVectorStore", "OpensearchVectorClient"]
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-opensearch/llama_index/vector_stores/opensearch/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/base.py
"""Elasticsearch/Opensearch vector store.""" import uuid from datetime import datetime from typing import Any, Dict, Iterable, List, Optional, Union, cast from llama_index.core.async_utils import asyncio_run from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, Metadat...
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-lindorm/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lindorm/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-lindorm/tests/test_vector_stores_lindorm.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lindorm/tests/test_vector_stores_lindorm.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.lindorm import LindormVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in LindormVectorStore.__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-lindorm/tests/test_lindorm_client.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lindorm/tests/test_lindorm_client.py
import pytest import random import string import logging from llama_index.core.schema import ( TextNode, RelatedNodeInfo, NodeRelationship, ) from llama_index.vector_stores.lindorm import ( LindormVectorStore, LindormVectorClient, ) from llama_index.core.vector_stores.types import ( 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-lindorm/llama_index/vector_stores/lindorm/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lindorm/llama_index/vector_stores/lindorm/__init__.py
from llama_index.vector_stores.lindorm.base import ( LindormVectorStore, LindormVectorClient, ) __all__ = ["LindormVectorStore", "LindormVectorClient"]
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-lindorm/llama_index/vector_stores/lindorm/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-lindorm/llama_index/vector_stores/lindorm/base.py
"""Lindorm Vector Store.""" import asyncio import uuid from typing import Any, Dict, Iterable, List, Optional, Union, cast 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 ( MetadataFilte...
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-bagel/tests/test_vector_stores_bagel.py
llama-index-integrations/vector_stores/llama-index-vector-stores-bagel/tests/test_vector_stores_bagel.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.bagel import BagelVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in BagelVectorStore.__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-bagel/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-bagel/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-bagel/llama_index/vector_stores/bagel/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-bagel/llama_index/vector_stores/bagel/__init__.py
from llama_index.vector_stores.bagel.base import BagelVectorStore __all__ = ["BagelVectorStore"]
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-bagel/llama_index/vector_stores/bagel/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-bagel/llama_index/vector_stores/bagel/base.py
import logging import math from typing import Any, List 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, VectorStoreQuery, VectorStor...
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-txtai/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-txtai/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-txtai/tests/test_vector_stores_txtai.py
llama-index-integrations/vector_stores/llama-index-vector-stores-txtai/tests/test_vector_stores_txtai.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.txtai import TxtaiVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in TxtaiVectorStore.__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-txtai/llama_index/vector_stores/txtai/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-txtai/llama_index/vector_stores/txtai/__init__.py
from llama_index.vector_stores.txtai.base import TxtaiVectorStore __all__ = ["TxtaiVectorStore"]
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-txtai/llama_index/vector_stores/txtai/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-txtai/llama_index/vector_stores/txtai/base.py
""" txtai Vector store index. An index that is built on top of an existing vector store. """ import json import logging import os import pickle from pathlib import Path from typing import Any, List, Optional, cast import fsspec import numpy as np from fsspec.implementations.local import LocalFileSystem from llama_i...
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-dashvector/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-dashvector/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-dashvector/tests/test_vector_stores_dashvector.py
llama-index-integrations/vector_stores/llama-index-vector-stores-dashvector/tests/test_vector_stores_dashvector.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.dashvector import DashVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in DashVectorStore.__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-dashvector/llama_index/vector_stores/dashvector/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-dashvector/llama_index/vector_stores/dashvector/__init__.py
from llama_index.vector_stores.dashvector.base import DashVectorStore __all__ = ["DashVectorStore"]
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-dashvector/llama_index/vector_stores/dashvector/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-dashvector/llama_index/vector_stores/dashvector/base.py
"""DashVector Vector Store.""" import logging from typing import Any, List, Optional, cast 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-azurecosmosnosql/tests/test_vector_stores_azurecosmosnosql.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurecosmosnosql/tests/test_vector_stores_azurecosmosnosql.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.azurecosmosnosql import AzureCosmosDBNoSqlVectorSearch def test_class(): names_of_base_classes = [b.__name__ for b in AzureCosmosDBNoSqlVectorSearch.__mro__] assert BasePydanticVectorStore.__name__ in names...
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-azurecosmosnosql/tests/test_azurecosmosnosql.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurecosmosnosql/tests/test_azurecosmosnosql.py
"""Test Azure CosmosDB NoSql Vector Search functionality.""" from __future__ import annotations from time import sleep from typing import List import pytest try: from azure.cosmos import CosmosClient, PartitionKey URL = "AZURE_COSMOSDB_URI" KEY = "AZURE_COSMOSDB_KEY" database_name = "test_database"...
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-azurecosmosnosql/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurecosmosnosql/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-azurecosmosnosql/llama_index/vector_stores/azurecosmosnosql/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurecosmosnosql/llama_index/vector_stores/azurecosmosnosql/__init__.py
from llama_index.vector_stores.azurecosmosnosql.base import ( AzureCosmosDBNoSqlVectorSearch, ) __all__ = ["AzureCosmosDBNoSqlVectorSearch"]
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-azurecosmosnosql/llama_index/vector_stores/azurecosmosnosql/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-azurecosmosnosql/llama_index/vector_stores/azurecosmosnosql/base.py
""" Azure CosmosDB NoSQL vCore Vector store index. An index that is built on top of an existing vector store. """ import logging from typing import Any, Optional, Dict, cast, List from azure.identity import ClientSecretCredential from azure.cosmos import CosmosClient from llama_index.core.bridge.pydantic import Pri...
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-qdrant/tests/test_vector_stores_qdrant.py
llama-index-integrations/vector_stores/llama-index-vector-stores-qdrant/tests/test_vector_stores_qdrant.py
import pytest import os import requests import httpx from qdrant_client import QdrantClient from qdrant_client.http.models import ( PointsList, PointStruct, Filter, ) from unittest.mock import MagicMock from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores...
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-qdrant/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-qdrant/tests/conftest.py
import os from typing import AsyncGenerator from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.vector_stores.qdrant import QdrantVectorStore import qdrant_client import pytest_asyncio from qdrant_client.http import models @pytest_asyncio.fixture async def 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-qdrant/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-qdrant/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-qdrant/llama_index/vector_stores/qdrant/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-qdrant/llama_index/vector_stores/qdrant/utils.py
from typing import Any, Callable, List, Optional, Protocol, Tuple, runtime_checkable from llama_index.core.vector_stores.types import VectorStoreQueryResult BatchSparseEncoding = Tuple[List[List[int]], List[List[float]]] SparseEncoderCallable = Callable[[List[str]], BatchSparseEncoding] @runtime_checkable class Hyb...
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-qdrant/llama_index/vector_stores/qdrant/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-qdrant/llama_index/vector_stores/qdrant/__init__.py
from llama_index.vector_stores.qdrant.base import QdrantVectorStore __all__ = ["QdrantVectorStore"]
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-qdrant/llama_index/vector_stores/qdrant/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-qdrant/llama_index/vector_stores/qdrant/base.py
""" Qdrant vector store index. An index that is built on top of an existing Qdrant collection. """ import logging from typing import Any, Callable, List, Optional, Tuple, Union, cast import qdrant_client from qdrant_client import QdrantClient, AsyncQdrantClient from grpc import RpcError from llama_index.core.bridge...
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-nile/tests/test_vector_stores_nile.py
llama-index-integrations/vector_stores/llama-index-vector-stores-nile/tests/test_vector_stores_nile.py
import unittest import pytest from unittest import mock import numpy as np from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.core.schema import TextNode from llama_index.core.vector_stores.types import ( VectorStoreQuery, VectorStoreQueryResult, ) from llama_index.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-nile/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-nile/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-nile/examples/multitenant.py
llama-index-integrations/vector_stores/llama-index-vector-stores-nile/examples/multitenant.py
# Example usage of the NileVectorStore # We'll use some example data to test the store, you can get it here: # wget --user-agent "Mozilla" "https://raw.githubusercontent.com/niledatabase/niledatabase/main/examples/ai/sales_insight/data/transcripts/nexiv-solutions__0_transcript.txt" -O "nexiv-solutions__0_transcript.txt...
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-nile/llama_index/vector_stores/nile/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-nile/llama_index/vector_stores/nile/__init__.py
from llama_index.vector_stores.nile.base import NileVectorStore, IndexType __all__ = ["NileVectorStore", "IndexType"]
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-nile/llama_index/vector_stores/nile/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-nile/llama_index/vector_stores/nile/base.py
# Standard library imports import enum import json import logging import uuid from typing import Any, List, Tuple # Third-party imports import psycopg # Local application/library specific imports from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.constants import DEFAULT_EMBEDDING_DIM 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-faiss/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-faiss/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-faiss/tests/test_vector_stores_faiss.py
llama-index-integrations/vector_stores/llama-index-vector-stores-faiss/tests/test_vector_stores_faiss.py
from typing import Any, List import pytest from llama_index.core.schema import TextNode from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.faiss import FaissVectorStore, FaissMapVectorStore from llama_index.core.vector_stores.types import ( 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-faiss/llama_index/vector_stores/faiss/map_store.py
llama-index-integrations/vector_stores/llama-index-vector-stores-faiss/llama_index/vector_stores/faiss/map_store.py
""" Faiss Map Vector Store index. An index that is built on top of an existing vector store. """ import os from typing import Any, List, Optional, cast import numpy as np import fsspec from fsspec.implementations.local import LocalFileSystem from llama_index.core.schema import BaseNode from llama_index.core.bridge....
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-faiss/llama_index/vector_stores/faiss/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-faiss/llama_index/vector_stores/faiss/__init__.py
from llama_index.vector_stores.faiss.base import FaissVectorStore from llama_index.vector_stores.faiss.map_store import FaissMapVectorStore __all__ = ["FaissVectorStore", "FaissMapVectorStore"]
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-faiss/llama_index/vector_stores/faiss/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-faiss/llama_index/vector_stores/faiss/base.py
""" Faiss 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, cast import fsspec import numpy as np from fsspec.implementations.local import LocalFileSystem from llama_index.core.bridge.pydantic import PrivateAttr 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-firestore/tests/test_utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-firestore/tests/test_utils.py
from typing import Any from unittest import TestCase from unittest.mock import patch from google.cloud.firestore import Client import pytest from llama_index.vector_stores.firestore.utils import USER_AGENT @pytest.fixture(autouse=True, name="test_case") def init_test_case() -> TestCase: """Returns a TestCase in...
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-firestore/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-firestore/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-firestore/tests/test_vector_store_firestore.py
llama-index-integrations/vector_stores/llama-index-vector-stores-firestore/tests/test_vector_store_firestore.py
from unittest.mock import patch from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.firestore import FirestoreVectorStore @patch("importlib.metadata.version", return_value="0.1.0", autospec=True) def test_class(_version: str) -> None: 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-firestore/tests/test_firestore.py
llama-index-integrations/vector_stores/llama-index-vector-stores-firestore/tests/test_firestore.py
import json import logging from typing import Any, List from unittest import TestCase from unittest.mock import Mock, patch import pytest from google.cloud.firestore import DocumentReference, DocumentSnapshot, FieldFilter from google.cloud.firestore_v1.base_vector_query import DistanceMeasure from google.cloud.firest...
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-firestore/llama_index/vector_stores/firestore/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-firestore/llama_index/vector_stores/firestore/utils.py
from importlib.metadata import version from typing import Optional from google.cloud import firestore from google.cloud.firestore_v1.services.firestore.transports.base import ( DEFAULT_CLIENT_INFO, ) try: __version__ = version("llama-index-vector-store-firestore") except Exception: __version__ = "unknown"...
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-firestore/llama_index/vector_stores/firestore/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-firestore/llama_index/vector_stores/firestore/__init__.py
from llama_index.vector_stores.firestore.base import FirestoreVectorStore __all__ = ["FirestoreVectorStore"]
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-firestore/llama_index/vector_stores/firestore/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-firestore/llama_index/vector_stores/firestore/base.py
""" Firestore vector store index. An index that is built on top of an existing vector store. """ import logging from typing import Any, List, Optional, Union import more_itertools from google.cloud.firestore import And, Client, DocumentSnapshot, FieldFilter, Or from google.cloud.firestore_v1.base_query import BaseC...
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-analyticdb/tests/test_analyticdb.py
llama-index-integrations/vector_stores/llama-index-vector-stores-analyticdb/tests/test_analyticdb.py
from typing import List from unittest.mock import MagicMock import pytest from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.vector_stores.analyticdb import AnalyticDBVectorStore try: from alibabacloud_gpdb20160503.client import Client analyticdb_installed = True...
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-analyticdb/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-analyticdb/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-analyticdb/tests/test_vector_stores_analyticdb.py
llama-index-integrations/vector_stores/llama-index-vector-stores-analyticdb/tests/test_vector_stores_analyticdb.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.analyticdb import AnalyticDBVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in AnalyticDBVectorStore.__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-analyticdb/llama_index/vector_stores/analyticdb/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-analyticdb/llama_index/vector_stores/analyticdb/__init__.py
from llama_index.vector_stores.analyticdb.base import AnalyticDBVectorStore __all__ = ["AnalyticDBVectorStore"]
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-analyticdb/llama_index/vector_stores/analyticdb/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-analyticdb/llama_index/vector_stores/analyticdb/base.py
"""AnalyticDB vector store.""" import logging import json from typing import Any, List, Union 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, FilterOperator, Meta...
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-redis/tests/conftest.py
llama-index-integrations/vector_stores/llama-index-vector-stores-redis/tests/conftest.py
import time import pytest from typing import List from llama_index.core.schema import Document, TextNode from llama_index.core.node_parser import SentenceSplitter from redis import Redis from redis.asyncio import Redis as RedisAsync import docker docker_client = docker.from_env() docker_client.ping() container = dock...
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-redis/tests/test_vector_stores_redis.py
llama-index-integrations/vector_stores/llama-index-vector-stores-redis/tests/test_vector_stores_redis.py
import pytest from llama_index.core import MockEmbedding, StorageContext, VectorStoreIndex from llama_index.core.llms import MockLLM from llama_index.core.vector_stores.types import ( BasePydanticVectorStore, MetadataFilter, MetadataFilters, VectorStoreQuery, ) from llama_index.vector_stores.redis 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-redis/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-redis/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-redis/llama_index/vector_stores/redis/schema.py
llama-index-integrations/vector_stores/llama-index-vector-stores-redis/llama_index/vector_stores/redis/schema.py
from typing import Any, Dict, List from redisvl.schema import IndexSchema, IndexInfo, StorageType # required llama index fields NODE_ID_FIELD_NAME: str = "id" DOC_ID_FIELD_NAME: str = "doc_id" TEXT_FIELD_NAME: str = "text" NODE_CONTENT_FIELD_NAME: str = "_node_content" VECTOR_FIELD_NAME: str = "vector" class RedisIn...
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-redis/llama_index/vector_stores/redis/utils.py
llama-index-integrations/vector_stores/llama-index-vector-stores-redis/llama_index/vector_stores/redis/utils.py
from redisvl.query.filter import Tag, Num, Text # Global constant defining field specifications REDIS_LLAMA_FIELD_SPEC = { "tag": { "class": Tag, "operators": { "==": lambda f, v: f == v, "!=": lambda f, v: f != v, "in": lambda f, v: f == v, "nin": 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-redis/llama_index/vector_stores/redis/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-redis/llama_index/vector_stores/redis/__init__.py
from llama_index.vector_stores.redis.base import RedisVectorStore, TokenEscaper __all__ = ["RedisVectorStore", "TokenEscaper"]
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-redis/llama_index/vector_stores/redis/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-redis/llama_index/vector_stores/redis/base.py
""" Redis Vector store index. An index that is built on top of an existing vector store. """ import logging from typing import Any, Dict, List, Optional, Pattern import fsspec import re from redis import Redis import redis.asyncio as redis_async from redis.asyncio import Redis as RedisAsync from redis.exceptions imp...
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-couchbase/tests/test_couchbase_query_vector_store.py
llama-index-integrations/vector_stores/llama-index-vector-stores-couchbase/tests/test_couchbase_query_vector_store.py
"""Test Couchbase Query Vector Store functionality using GSI.""" from __future__ import annotations import os import json from typing import Any, List from datetime import timedelta import pytest import time from llama_index.core.schema import MetadataMode, TextNode, Document from llama_index.embeddings.openai 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-couchbase/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-couchbase/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-couchbase/tests/test_couchbase_search_vector_stores.py
llama-index-integrations/vector_stores/llama-index-vector-stores-couchbase/tests/test_couchbase_search_vector_stores.py
"""Test Couchbase Vector Search functionality.""" from __future__ import annotations import os from typing import Any, List import pytest import time import json from llama_index.core.schema import MetadataMode, TextNode, Document from llama_index.embeddings.openai import OpenAIEmbedding from llama_index.core.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-couchbase/llama_index/vector_stores/couchbase/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-couchbase/llama_index/vector_stores/couchbase/__init__.py
"""Couchbase vector stores.""" from llama_index.vector_stores.couchbase.base import ( CouchbaseVectorStore, # Deprecated CouchbaseSearchVectorStore, # FTS-based CouchbaseQueryVectorStore, # GSI-based with BHIVE support CouchbaseVectorStoreBase, # Base class QueryVectorSearchType, # Enum for 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-couchbase/llama_index/vector_stores/couchbase/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-couchbase/llama_index/vector_stores/couchbase/base.py
""" Couchbase Vector store interface. """ import logging import warnings from datetime import timedelta from enum import Enum from typing import Any, Dict, List, Optional, Union from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode, TextNode from llama_ind...
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-baiduvectordb/tests/test_vector_stores_baiduvectordb.py
llama-index-integrations/vector_stores/llama-index-vector-stores-baiduvectordb/tests/test_vector_stores_baiduvectordb.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.baiduvectordb import BaiduVectorDB def test_class(): names_of_base_classes = [b.__name__ for b in BaiduVectorDB.__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-baiduvectordb/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-baiduvectordb/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-baiduvectordb/llama_index/vector_stores/baiduvectordb/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-baiduvectordb/llama_index/vector_stores/baiduvectordb/__init__.py
from llama_index.vector_stores.baiduvectordb.base import ( BaiduVectorDB, TableParams, TableField, ) __all__ = ["BaiduVectorDB", "TableParams", "TableField"]
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-baiduvectordb/llama_index/vector_stores/baiduvectordb/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-baiduvectordb/llama_index/vector_stores/baiduvectordb/base.py
"""A store that is built with Baidu VectorDB.""" import json import time import asyncio import logging from typing import Any, Dict, List, Optional from llama_index.core.bridge.pydantic import Field, PrivateAttr from llama_index.core.schema import ( BaseNode, 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-google/tests/test_vector_stores_google.py
llama-index-integrations/vector_stores/llama-index-vector-stores-google/tests/test_vector_stores_google.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.google import GoogleVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in GoogleVectorStore.__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-google/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-google/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-google/llama_index/vector_stores/google/genai_extension.py
llama-index-integrations/vector_stores/llama-index-vector-stores-google/llama_index/vector_stores/google/genai_extension.py
""" Temporary high-level library of the Google GenerativeAI API. The content of this file should eventually go into the Python package google.generativeai. """ import datetime import logging import re from dataclasses import dataclass from typing import Any, Dict, Iterator, List, MutableSequence, Optional import goo...
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-google/llama_index/vector_stores/google/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-google/llama_index/vector_stores/google/__init__.py
from llama_index.vector_stores.google.base import ( GoogleVectorStore, set_google_config, ) __all__ = [ "set_google_config", "GoogleVectorStore", ]
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-google/llama_index/vector_stores/google/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-google/llama_index/vector_stores/google/base.py
""" Google Generative AI Vector Store. The GenAI Semantic Retriever API is a managed end-to-end service that allows developers to create a corpus of documents to perform semantic search on related passages given a user query. For more information visit: https://developers.generativeai.google/guide """ import logging ...
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-astra-db/tests/test_vector_stores_astra_db.py
llama-index-integrations/vector_stores/llama-index-vector-stores-astra-db/tests/test_vector_stores_astra_db.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.astra_db.base import AstraDBVectorStore def test_class() -> None: names_of_base_classes = [b.__name__ for b in AstraDBVectorStore.__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-astra-db/tests/test_astra_db.py
llama-index-integrations/vector_stores/llama-index-vector-stores-astra-db/tests/test_astra_db.py
import os import pytest from typing import Iterable from unittest.mock import Mock, patch from llama_index.core.schema import NodeRelationship, RelatedNodeInfo, TextNode from llama_index.core.vector_stores.types import ( VectorStoreQuery, MetadataFilters, MetadataFilter, FilterOperator, ) from llama_in...
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-astra-db/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-astra-db/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-astra-db/llama_index/vector_stores/astra_db/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-astra-db/llama_index/vector_stores/astra_db/__init__.py
from llama_index.vector_stores.astra_db.base import AstraDBVectorStore __all__ = ["AstraDBVectorStore"]
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-astra-db/llama_index/vector_stores/astra_db/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-astra-db/llama_index/vector_stores/astra_db/base.py
""" Astra DB Vector Store index. An index based on a DB collection with vector search capabilities, powered by the AstraPy library """ import json import logging from typing import Any, Dict, List, Optional, cast from concurrent.futures import ThreadPoolExecutor from warnings import warn from astrapy import DataAPI...
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-epsilla/tests/test_vector_stores_epsilla.py
llama-index-integrations/vector_stores/llama-index-vector-stores-epsilla/tests/test_vector_stores_epsilla.py
from llama_index.core.vector_stores.types import BasePydanticVectorStore from llama_index.vector_stores.epsilla import EpsillaVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in EpsillaVectorStore.__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-epsilla/tests/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-epsilla/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-epsilla/llama_index/vector_stores/epsilla/__init__.py
llama-index-integrations/vector_stores/llama-index-vector-stores-epsilla/llama_index/vector_stores/epsilla/__init__.py
from llama_index.vector_stores.epsilla.base import EpsillaVectorStore __all__ = ["EpsillaVectorStore"]
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-epsilla/llama_index/vector_stores/epsilla/base.py
llama-index-integrations/vector_stores/llama-index-vector-stores-epsilla/llama_index/vector_stores/epsilla/base.py
"""Epsilla vector store.""" import logging from typing import Any, List, Optional 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 ( DEFAULT_PERSIST_DIR, BasePydanticVectorStore, V...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false