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/node_parser/llama-index-node-parser-slide/llama_index/node_parser/slide/base.py | llama-index-integrations/node_parser/llama-index-node-parser-slide/llama_index/node_parser/slide/base.py | import warnings
from typing import Dict, List, Optional, Callable, Sequence
from llama_index.core.bridge.pydantic import Field, model_validator
from llama_index.core.node_parser.interface import NodeParser
from llama_index.core.node_parser.text.utils import split_by_sentence_tokenizer
from llama_index.core.node_parser... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-relational-dashscope/tests/test_node_parser_relational_dashscope.py | llama-index-integrations/node_parser/llama-index-node-parser-relational-dashscope/tests/test_node_parser_relational_dashscope.py | from llama_index.node_parser.dashscope import DashScopeJsonNodeParser
from llama_index.core.node_parser.relational.base_element import BaseElementNodeParser
def test_class():
names_of_base_classes = [b.__name__ for b in DashScopeJsonNodeParser.__mro__]
assert BaseElementNodeParser.__name__ in names_of_base_cl... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-relational-dashscope/tests/__init__.py | llama-index-integrations/node_parser/llama-index-node-parser-relational-dashscope/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/node_parser/llama-index-node-parser-relational-dashscope/llama_index/node_parser/dashscope/__init__.py | llama-index-integrations/node_parser/llama-index-node-parser-relational-dashscope/llama_index/node_parser/dashscope/__init__.py | from llama_index.node_parser.dashscope.base import DashScopeJsonNodeParser
__all__ = ["DashScopeJsonNodeParser"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-relational-dashscope/llama_index/node_parser/dashscope/base.py | llama-index-integrations/node_parser/llama-index-node-parser-relational-dashscope/llama_index/node_parser/dashscope/base.py | from typing import Any, Callable, List, Optional, Dict
import logging
import requests
import os
import json
from llama_index.core.bridge.pydantic import Field
from llama_index.core.node_parser.relational.base_element import (
BaseElementNodeParser,
Element,
)
from llama_index.core.schema import BaseNode, TextN... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-docling/tests/__init__.py | llama-index-integrations/node_parser/llama-index-node-parser-docling/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/node_parser/llama-index-node-parser-docling/tests/test_node_parser_docling.py | llama-index-integrations/node_parser/llama-index-node-parser-docling/tests/test_node_parser_docling.py | import json
from llama_index.core.schema import BaseNode
from llama_index.core.schema import Document as LIDocument
from llama_index.node_parser.docling import DoclingNodeParser
in_json_str = json.dumps(
{
"id_": "123",
"embedding": None,
"metadata": {},
"excluded_embed_metadata_ke... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-docling/llama_index/node_parser/docling/__init__.py | llama-index-integrations/node_parser/llama-index-node-parser-docling/llama_index/node_parser/docling/__init__.py | from llama_index.node_parser.docling.base import DoclingNodeParser
__all__ = ["DoclingNodeParser"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-docling/llama_index/node_parser/docling/base.py | llama-index-integrations/node_parser/llama-index-node-parser-docling/llama_index/node_parser/docling/base.py | from typing import Any, Iterable, Protocol, Sequence, runtime_checkable
import uuid
from llama_index.core.schema import Document as LIDocument
from llama_index.core.node_parser import NodeParser
from docling_core.transforms.chunker import BaseChunker, HierarchicalChunker
from docling_core.types import DoclingDocument... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-alibabacloud-aisearch/tests/test_node_parser_alibabacloud_aisearch.py | llama-index-integrations/node_parser/llama-index-node-parser-alibabacloud-aisearch/tests/test_node_parser_alibabacloud_aisearch.py | from llama_index.node_parser.alibabacloud_aisearch import AlibabaCloudAISearchNodeParser
from llama_index.core.node_parser.interface import NodeParser
def test_class():
names_of_base_classes = [b.__name__ for b in AlibabaCloudAISearchNodeParser.__mro__]
assert NodeParser.__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/node_parser/llama-index-node-parser-alibabacloud-aisearch/tests/__init__.py | llama-index-integrations/node_parser/llama-index-node-parser-alibabacloud-aisearch/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/node_parser/llama-index-node-parser-alibabacloud-aisearch/llama_index/node_parser/alibabacloud_aisearch/__init__.py | llama-index-integrations/node_parser/llama-index-node-parser-alibabacloud-aisearch/llama_index/node_parser/alibabacloud_aisearch/__init__.py | from llama_index.node_parser.alibabacloud_aisearch.base import (
AlibabaCloudAISearchNodeParser,
)
__all__ = ["AlibabaCloudAISearchNodeParser"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-alibabacloud-aisearch/llama_index/node_parser/alibabacloud_aisearch/base.py | llama-index-integrations/node_parser/llama-index-node-parser-alibabacloud-aisearch/llama_index/node_parser/alibabacloud_aisearch/base.py | import asyncio
import logging
from typing import Any, List, Optional, Sequence
from llama_index.core.node_parser.node_utils import build_nodes_from_splits
from llama_index.core.node_parser.interface import NodeParser
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import BaseNode, Tex... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-topic/tests/__init__.py | llama-index-integrations/node_parser/llama-index-node-parser-topic/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/node_parser/llama-index-node-parser-topic/tests/test_node_parser_topic.py | llama-index-integrations/node_parser/llama-index-node-parser-topic/tests/test_node_parser_topic.py | from llama_index.core import Document, MockEmbedding
from llama_index.core.llms import MockLLM
from llama_index.node_parser.topic import TopicNodeParser
def test_llm_chunking():
llm = MockLLM()
embed_model = MockEmbedding(embed_dim=3)
node_parser = TopicNodeParser.from_defaults(
llm=llm, embed_mod... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-topic/llama_index/node_parser/topic/__init__.py | llama-index-integrations/node_parser/llama-index-node-parser-topic/llama_index/node_parser/topic/__init__.py | from llama_index.node_parser.topic.base import (
TopicNodeParser,
)
__all__ = ["TopicNodeParser"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/node_parser/llama-index-node-parser-topic/llama_index/node_parser/topic/base.py | llama-index-integrations/node_parser/llama-index-node-parser-topic/llama_index/node_parser/topic/base.py | """Topic Based node parser."""
from typing import Any, Callable, Dict, List, Optional, Sequence
from llama_index.core.bridge.pydantic import Field, SerializeAsAny
from llama_index.core.base.embeddings.base import BaseEmbedding
from llama_index.core.callbacks.base import CallbackManager
from llama_index.core.node_pars... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-tablestore/tests/test_storage_kvstore_tablestore.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-tablestore/tests/test_storage_kvstore_tablestore.py | import os
import pytest
from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.tablestore import TablestoreKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in TablestoreKVStore.__mro__]
assert BaseKVStore.__name__ in names_of_base_classes
asser... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-tablestore/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-tablestore/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/storage/kvstore/llama-index-storage-kvstore-tablestore/llama_index/storage/kvstore/tablestore/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-tablestore/llama_index/storage/kvstore/tablestore/__init__.py | from llama_index.storage.kvstore.tablestore.base import TablestoreKVStore
__all__ = ["TablestoreKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-tablestore/llama_index/storage/kvstore/tablestore/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-tablestore/llama_index/storage/kvstore/tablestore/base.py | import json
import logging
from time import sleep
from typing import Any, Dict, List, Optional
import six
import tablestore
from llama_index.core.storage.kvstore.types import DEFAULT_COLLECTION, BaseKVStore
logger = logging.getLogger(__name__)
class TablestoreKVStore(BaseKVStore):
"""
Tablestore Key-Value 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/storage/kvstore/llama-index-storage-kvstore-duckdb/tests/test_storage_kvstore_duckdb.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-duckdb/tests/test_storage_kvstore_duckdb.py | import os
from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.duckdb import DuckDBKVStore
from llama_index.vector_stores.duckdb.base import DuckDBVectorStore
import pytest
def test_class():
names_of_base_classes = [b.__name__ for b in DuckDBKVStore.__mro__]
assert B... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-duckdb/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-duckdb/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/storage/kvstore/llama-index-storage-kvstore-duckdb/llama_index/storage/kvstore/duckdb/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-duckdb/llama_index/storage/kvstore/duckdb/__init__.py | from llama_index.storage.kvstore.duckdb.base import DuckDBKVStore
__all__ = ["DuckDBKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-duckdb/llama_index/storage/kvstore/duckdb/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-duckdb/llama_index/storage/kvstore/duckdb/base.py | import asyncio
import json
import logging
import threading
from pathlib import Path
from typing import Any, Optional
from typing_extensions import override
import duckdb
import pyarrow
from duckdb import (
ColumnExpression,
ConstantExpression,
Expression,
)
from llama_index.core.storage.kvstore.types 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/storage/kvstore/llama-index-storage-kvstore-firestore/tests/test_storage_kvstore_firestore.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-firestore/tests/test_storage_kvstore_firestore.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.firestore import FirestoreKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in FirestoreKVStore.__mro__]
assert BaseKVStore.__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/storage/kvstore/llama-index-storage-kvstore-firestore/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-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/storage/kvstore/llama-index-storage-kvstore-firestore/llama_index/storage/kvstore/firestore/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-firestore/llama_index/storage/kvstore/firestore/__init__.py | from llama_index.storage.kvstore.firestore.base import FirestoreKVStore
__all__ = ["FirestoreKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-firestore/llama_index/storage/kvstore/firestore/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-firestore/llama_index/storage/kvstore/firestore/base.py | from typing import Any, Dict, List, Optional, Tuple
from google.auth.credentials import Credentials
from google.cloud.firestore_v1.async_client import AsyncClient
from google.cloud.firestore_v1.client import Client
from google.cloud.firestore_v1.services.firestore.transports.base import (
DEFAULT_CLIENT_INFO,
)
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/storage/kvstore/llama-index-storage-kvstore-dynamodb/tests/test_storage_kvstore_dynamodb.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-dynamodb/tests/test_storage_kvstore_dynamodb.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.dynamodb import DynamoDBKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in DynamoDBKVStore.__mro__]
assert BaseKVStore.__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/storage/kvstore/llama-index-storage-kvstore-dynamodb/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-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/storage/kvstore/llama-index-storage-kvstore-dynamodb/llama_index/storage/kvstore/dynamodb/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-dynamodb/llama_index/storage/kvstore/dynamodb/__init__.py | from llama_index.storage.kvstore.dynamodb.base import DynamoDBKVStore
__all__ = ["DynamoDBKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-dynamodb/llama_index/storage/kvstore/dynamodb/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-dynamodb/llama_index/storage/kvstore/dynamodb/base.py | from __future__ import annotations
import os
from decimal import Decimal
from typing import Any, Dict, List, Set, Tuple
import boto3
from boto3.dynamodb.conditions import Key
from llama_index.core.storage.kvstore.types import DEFAULT_COLLECTION, BaseKVStore
def parse_schema(table: Any) -> Tuple[str, str]:
key_h... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-redis/tests/test_storage_kvstore_redis.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-redis/tests/test_storage_kvstore_redis.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.redis import RedisKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in RedisKVStore.__mro__]
assert BaseKVStore.__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/storage/kvstore/llama-index-storage-kvstore-redis/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-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/storage/kvstore/llama-index-storage-kvstore-redis/llama_index/storage/kvstore/redis/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-redis/llama_index/storage/kvstore/redis/__init__.py | from llama_index.storage.kvstore.redis.base import RedisKVStore
__all__ = ["RedisKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-redis/llama_index/storage/kvstore/redis/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-redis/llama_index/storage/kvstore/redis/base.py | import json
from typing import Any, Dict, List, Optional, Tuple
from llama_index.core.storage.kvstore.types import (
DEFAULT_BATCH_SIZE,
DEFAULT_COLLECTION,
BaseKVStore,
)
from redis.asyncio import Redis as AsyncRedis
from redis import Redis
class RedisKVStore(BaseKVStore):
"""
Redis KV 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/storage/kvstore/llama-index-storage-kvstore-mongodb/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-mongodb/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/storage/kvstore/llama-index-storage-kvstore-mongodb/tests/test_storage_kvstore_mongodb.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-mongodb/tests/test_storage_kvstore_mongodb.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.mongodb import MongoDBKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in MongoDBKVStore.__mro__]
assert BaseKVStore.__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/storage/kvstore/llama-index-storage-kvstore-mongodb/llama_index/storage/kvstore/mongodb/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-mongodb/llama_index/storage/kvstore/mongodb/__init__.py | from llama_index.storage.kvstore.mongodb.base import MongoDBKVStore
__all__ = ["MongoDBKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-mongodb/llama_index/storage/kvstore/mongodb/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-mongodb/llama_index/storage/kvstore/mongodb/base.py | from importlib.metadata import version
from typing import Any, Dict, List, Optional, Tuple, cast
from llama_index.core.storage.kvstore.types import (
DEFAULT_BATCH_SIZE,
DEFAULT_COLLECTION,
BaseKVStore,
)
IMPORT_ERROR_MSG = "`pymongo` package not found, please run `pip install pymongo`"
APP_NAME = "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/storage/kvstore/llama-index-storage-kvstore-azurecosmosnosql/tests/test_storage_azurecosmosnosql_kv_store.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-azurecosmosnosql/tests/test_storage_azurecosmosnosql_kv_store.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.azurecosmosnosql import AzureCosmosNoSqlKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in AzureCosmosNoSqlKVStore.__mro__]
assert BaseKVStore.__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/storage/kvstore/llama-index-storage-kvstore-azurecosmosnosql/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-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/storage/kvstore/llama-index-storage-kvstore-azurecosmosnosql/llama_index/storage/kvstore/azurecosmosnosql/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-azurecosmosnosql/llama_index/storage/kvstore/azurecosmosnosql/__init__.py | from llama_index.storage.kvstore.azurecosmosnosql.base import AzureCosmosNoSqlKVStore
__all__ = ["AzureCosmosNoSqlKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-azurecosmosnosql/llama_index/storage/kvstore/azurecosmosnosql/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-azurecosmosnosql/llama_index/storage/kvstore/azurecosmosnosql/base.py | import logging
from abc import ABC
from typing import Any, Dict, Optional
from azure.cosmos import CosmosClient, DatabaseProxy, ContainerProxy
from llama_index.core.bridge.pydantic import PrivateAttr
from llama_index.core.storage.kvstore.types import (
BaseKVStore,
DEFAULT_COLLECTION,
)
DEFAULT_CHAT_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/storage/kvstore/llama-index-storage-kvstore-gel/tests/test_storage_kvstore_gel.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-gel/tests/test_storage_kvstore_gel.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.gel import GelKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in GelKVStore.__mro__]
assert BaseKVStore.__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/storage/kvstore/llama-index-storage-kvstore-gel/tests/test_gel.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-gel/tests/test_gel.py | import subprocess
import os
from typing import Generator
import pytest
import pytest_asyncio
from llama_index.storage.kvstore.gel import GelKVStore
try:
import gel # noqa
no_packages = False
except ImportError:
no_packages = True
# Skip tests in CICD
skip_in_cicd = os.environ.get("CI") is not None
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/storage/kvstore/llama-index-storage-kvstore-gel/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-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/storage/kvstore/llama-index-storage-kvstore-gel/llama_index/storage/kvstore/gel/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-gel/llama_index/storage/kvstore/gel/__init__.py | from llama_index.storage.kvstore.gel.base import GelKVStore
__all__ = ["GelKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-gel/llama_index/storage/kvstore/gel/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-gel/llama_index/storage/kvstore/gel/base.py | from typing import Dict, List, Optional, Tuple
import json
import logging
import textwrap
from jinja2 import Template
from llama_index.core.storage.kvstore.types import (
DEFAULT_BATCH_SIZE,
DEFAULT_COLLECTION,
BaseKVStore,
)
_logger = logging.getLogger(__name__)
IMPORT_ERROR_MESSAGE = """
Error: Gel 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/storage/kvstore/llama-index-storage-kvstore-azure/tests/test_storage_kvstore_azure.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-azure/tests/test_storage_kvstore_azure.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.azure import AzureKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in AzureKVStore.__mro__]
assert BaseKVStore.__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/storage/kvstore/llama-index-storage-kvstore-azure/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-azure/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/storage/kvstore/llama-index-storage-kvstore-azure/llama_index/storage/kvstore/azure/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-azure/llama_index/storage/kvstore/azure/__init__.py | from llama_index.storage.kvstore.azure.base import AzureKVStore
__all__ = ["AzureKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-azure/llama_index/storage/kvstore/azure/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-azure/llama_index/storage/kvstore/azure/base.py | from typing import (
Any,
AsyncGenerator,
Dict,
Generator,
List,
Optional,
Tuple,
Union,
cast,
)
from llama_index.core.storage.kvstore.types import (
DEFAULT_BATCH_SIZE,
DEFAULT_COLLECTION,
BaseKVStore,
)
from llama_index.utils.azure import (
ServiceMode,
deseria... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-couchbase/tests/test_kvstore_couchbase.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-couchbase/tests/test_kvstore_couchbase.py | from typing import Any
from llama_index.core.storage.kvstore.types import BaseKVStore
import pytest
from llama_index.storage.kvstore.couchbase import CouchbaseKVStore
import os
from datetime import timedelta
from couchbase.auth import PasswordAuthenticator
from couchbase.cluster import Cluster
from couchbase.options 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/storage/kvstore/llama-index-storage-kvstore-couchbase/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-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/storage/kvstore/llama-index-storage-kvstore-couchbase/llama_index/storage/kvstore/couchbase/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-couchbase/llama_index/storage/kvstore/couchbase/__init__.py | from llama_index.storage.kvstore.couchbase.base import CouchbaseKVStore
__all__ = ["CouchbaseKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-couchbase/llama_index/storage/kvstore/couchbase/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-couchbase/llama_index/storage/kvstore/couchbase/base.py | import string
from llama_index.core.storage.kvstore.types import (
BaseKVStore,
DEFAULT_BATCH_SIZE,
DEFAULT_COLLECTION,
)
from typing import Any, Dict, List, Optional, Tuple
from couchbase.cluster import Cluster
from couchbase.exceptions import (
DocumentNotFoundException,
)
from couchbase.kv_range_sca... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-elasticsearch/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-elasticsearch/tests/__init__.py | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false | |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-elasticsearch/tests/test_storage_kvstore_elasticsearch.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-elasticsearch/tests/test_storage_kvstore_elasticsearch.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.elasticsearch import ElasticsearchKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in ElasticsearchKVStore.__mro__]
assert BaseKVStore.__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/storage/kvstore/llama-index-storage-kvstore-elasticsearch/llama_index/storage/kvstore/elasticsearch/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-elasticsearch/llama_index/storage/kvstore/elasticsearch/__init__.py | from llama_index.storage.kvstore.elasticsearch.base import ElasticsearchKVStore
__all__ = ["ElasticsearchKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-elasticsearch/llama_index/storage/kvstore/elasticsearch/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-elasticsearch/llama_index/storage/kvstore/elasticsearch/base.py | from typing import Any, Dict, List, Optional, Tuple
from logging import getLogger
from llama_index.core.storage.kvstore.types import (
DEFAULT_BATCH_SIZE,
DEFAULT_COLLECTION,
BaseKVStore,
)
import asyncio
import nest_asyncio
import elasticsearch
from elasticsearch.helpers import async_bulk, async_scan
lo... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/tests/test_postgres.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/tests/test_postgres.py | import docker
import pytest
import time
from docker.models.containers import Container
from importlib.util import find_spec
from typing import Dict, Generator, Union
from llama_index.storage.kvstore.postgres import PostgresKVStore
no_packages = (
find_spec("psycopg2") is None
or find_spec("sqlalchemy") is Non... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/tests/test_storage_kvstore_postgres.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/tests/test_storage_kvstore_postgres.py | import pytest
from importlib.util import find_spec
from unittest.mock import MagicMock, patch
from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.postgres import PostgresKVStore
no_packages = (
find_spec("psycopg2") is None
or find_spec("sqlalchemy") is None
or 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/storage/kvstore/llama-index-storage-kvstore-postgres/tests/conftest.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/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/storage/kvstore/llama-index-storage-kvstore-postgres/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/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/storage/kvstore/llama-index-storage-kvstore-postgres/llama_index/storage/kvstore/postgres/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/llama_index/storage/kvstore/postgres/__init__.py | from llama_index.storage.kvstore.postgres.base import PostgresKVStore
__all__ = ["PostgresKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/llama_index/storage/kvstore/postgres/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/llama_index/storage/kvstore/postgres/base.py | from typing import Any, Dict, List, Optional, Tuple, Type
from urllib.parse import urlparse
from llama_index.core.bridge.pydantic import PrivateAttr
try:
import sqlalchemy
import sqlalchemy.ext.asyncio # noqa
from sqlalchemy import Column, Index, Integer, UniqueConstraint, inspect
from sqlalchemy.sche... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-s3/tests/test_store_kvstore_s3.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-s3/tests/test_store_kvstore_s3.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.s3 import S3DBKVStore
def test_class():
names_of_base_classes = [b.__name__ for b in S3DBKVStore.__mro__]
assert BaseKVStore.__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/storage/kvstore/llama-index-storage-kvstore-s3/tests/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-s3/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/storage/kvstore/llama-index-storage-kvstore-s3/llama_index/storage/kvstore/s3/__init__.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-s3/llama_index/storage/kvstore/s3/__init__.py | from llama_index.storage.kvstore.s3.base import S3DBKVStore
__all__ = ["S3DBKVStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-s3/llama_index/storage/kvstore/s3/base.py | llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-s3/llama_index/storage/kvstore/s3/base.py | import json
import os
from pathlib import PurePath
from typing import Any, Dict, Optional
import boto3
from llama_index.core.storage.kvstore.types import DEFAULT_COLLECTION, BaseKVStore
class S3DBKVStore(BaseKVStore):
"""
S3 Key-Value store.
Stores key-value pairs in a S3 bucket. Can optionally specify a... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-firestore/tests/test_storage_index_store_firestore.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-firestore/tests/test_storage_index_store_firestore.py | from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.index_store.firestore import FirestoreIndexStore
def test_class():
names_of_base_classes = [b.__name__ for b in FirestoreIndexStore.__mro__]
assert KVIndexStore.__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/storage/index_store/llama-index-storage-index-store-firestore/tests/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-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/storage/index_store/llama-index-storage-index-store-firestore/llama_index/storage/index_store/firestore/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-firestore/llama_index/storage/index_store/firestore/__init__.py | from llama_index.storage.index_store.firestore.base import FirestoreIndexStore
__all__ = ["FirestoreIndexStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-firestore/llama_index/storage/index_store/firestore/base.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-firestore/llama_index/storage/index_store/firestore/base.py | from typing import Optional
from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.kvstore.firestore import FirestoreKVStore
class FirestoreIndexStore(KVIndexStore):
"""
Firestore Index store.
Args:
firestore_kvstore (FirestoreKVStore): Firestor... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-elasticsearch/tests/test_storage_index_store_elasticsearch.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-elasticsearch/tests/test_storage_index_store_elasticsearch.py | from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.index_store.elasticsearch import ElasticsearchIndexStore
def test_class():
names_of_base_classes = [b.__name__ for b in ElasticsearchIndexStore.__mro__]
assert KVIndexStore.__name__ in names_of_base_class... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-elasticsearch/tests/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-elasticsearch/tests/__init__.py | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false | |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-elasticsearch/llama_index/storage/index_store/elasticsearch/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-elasticsearch/llama_index/storage/index_store/elasticsearch/__init__.py | from llama_index.storage.index_store.elasticsearch.base import ElasticsearchIndexStore
__all__ = ["ElasticsearchIndexStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-elasticsearch/llama_index/storage/index_store/elasticsearch/base.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-elasticsearch/llama_index/storage/index_store/elasticsearch/base.py | from typing import Optional
from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.kvstore.elasticsearch import ElasticsearchKVStore
class ElasticsearchIndexStore(KVIndexStore):
"""
Elasticsearch Index store.
Args:
elasticsearch_kvstore (Elastic... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/tests/test_storage_index_store_azurecosmosnosql.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/tests/test_storage_index_store_azurecosmosnosql.py | from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.index_store.azurecosmosnosql import AzureCosmosNoSqlIndexStore
def test_class():
names_of_base_classes = [b.__name__ for b in AzureCosmosNoSqlIndexStore.__mro__]
assert BaseKVStore.__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/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/tests/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-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/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/llama_index/storage/index_store/azurecosmosnosql/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/llama_index/storage/index_store/azurecosmosnosql/__init__.py | from llama_index.storage.index_store.azurecosmosnosql.base import (
AzureCosmosNoSqlIndexStore,
)
__all__ = ["AzureCosmosNoSqlIndexStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/llama_index/storage/index_store/azurecosmosnosql/base.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/llama_index/storage/index_store/azurecosmosnosql/base.py | from typing import Any, Dict, Optional
from llama_index.core.storage.kvstore.types import BaseKVStore
from llama_index.storage.kvstore.azurecosmosnosql import AzureCosmosNoSqlKVStore
DEFAULT_INDEX_DATABASE = "IndexStoreDB"
DEFAULT_INDEX_CONTAINER = "IndexStoreContainer"
class AzureCosmosNoSqlIndexStore(BaseKVStore)... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-azure/tests/test_storage_index_store_azure.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-azure/tests/test_storage_index_store_azure.py | from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.index_store.azure import AzureIndexStore
def test_class():
names_of_base_classes = [b.__name__ for b in AzureIndexStore.__mro__]
assert KVIndexStore.__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/storage/index_store/llama-index-storage-index-store-azure/tests/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-azure/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/storage/index_store/llama-index-storage-index-store-azure/llama_index/storage/index_store/azure/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-azure/llama_index/storage/index_store/azure/__init__.py | from llama_index.storage.index_store.azure.base import AzureIndexStore
__all__ = ["AzureIndexStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-azure/llama_index/storage/index_store/azure/base.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-azure/llama_index/storage/index_store/azure/base.py | from typing import Optional
from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.kvstore.azure import AzureKVStore
from llama_index.storage.kvstore.azure.base import ServiceMode
class AzureIndexStore(KVIndexStore):
"""
Azure Table Index store.
Args:
... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-dynamodb/tests/test_storage_index_store_dynamodb.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-dynamodb/tests/test_storage_index_store_dynamodb.py | from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.index_store.dynamodb import DynamoDBIndexStore
def test_class():
names_of_base_classes = [b.__name__ for b in DynamoDBIndexStore.__mro__]
assert KVIndexStore.__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/storage/index_store/llama-index-storage-index-store-dynamodb/tests/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-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/storage/index_store/llama-index-storage-index-store-dynamodb/llama_index/storage/index_store/dynamodb/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-dynamodb/llama_index/storage/index_store/dynamodb/__init__.py | from llama_index.storage.index_store.dynamodb.base import DynamoDBIndexStore
__all__ = ["DynamoDBIndexStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-dynamodb/llama_index/storage/index_store/dynamodb/base.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-dynamodb/llama_index/storage/index_store/dynamodb/base.py | from typing import Optional
from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.kvstore.dynamodb import DynamoDBKVStore
class DynamoDBIndexStore(KVIndexStore):
def __init__(
self,
dynamodb_kvstore: DynamoDBKVStore,
namespace: Optional[... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-couchbase/tests/test_index_store_couchbase.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-couchbase/tests/test_index_store_couchbase.py | from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.index_store.couchbase import CouchbaseIndexStore
def test_class():
names_of_base_classes = [b.__name__ for b in CouchbaseIndexStore.__mro__]
assert KVIndexStore.__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/storage/index_store/llama-index-storage-index-store-couchbase/tests/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-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/storage/index_store/llama-index-storage-index-store-couchbase/llama_index/storage/index_store/couchbase/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-couchbase/llama_index/storage/index_store/couchbase/__init__.py | from llama_index.storage.index_store.couchbase.base import CouchbaseIndexStore
__all__ = ["CouchbaseIndexStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-couchbase/llama_index/storage/index_store/couchbase/base.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-couchbase/llama_index/storage/index_store/couchbase/base.py | from typing import Any, Optional
from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.kvstore.couchbase import CouchbaseKVStore
class CouchbaseIndexStore(KVIndexStore):
"""Couchbase Index store."""
def __init__(
self,
couchbase_kvstore: Co... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-mongodb/tests/test_storage_index_store_mongodb.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-mongodb/tests/test_storage_index_store_mongodb.py | from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.index_store.mongodb import MongoIndexStore
def test_class():
names_of_base_classes = [b.__name__ for b in MongoIndexStore.__mro__]
assert KVIndexStore.__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/storage/index_store/llama-index-storage-index-store-mongodb/tests/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-mongodb/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/storage/index_store/llama-index-storage-index-store-mongodb/llama_index/storage/index_store/mongodb/__init__.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-mongodb/llama_index/storage/index_store/mongodb/__init__.py | from llama_index.storage.index_store.mongodb.base import MongoIndexStore
__all__ = ["MongoIndexStore"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/storage/index_store/llama-index-storage-index-store-mongodb/llama_index/storage/index_store/mongodb/base.py | llama-index-integrations/storage/index_store/llama-index-storage-index-store-mongodb/llama_index/storage/index_store/mongodb/base.py | from typing import Optional
from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.kvstore.mongodb import MongoDBKVStore
class MongoIndexStore(KVIndexStore):
"""
Mongo Index store.
Args:
mongo_kvstore (MongoDBKVStore): MongoDB key-value store
... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.