Azurecosmosnosql
AzureCosmosNoSqlIndexStore #
Bases: KVIndexStore
Creates an Azure Cosmos DB NoSql Index Store.
Source code in llama-index-integrations/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/llama_index/storage/index_store/azurecosmosnosql/base.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
|
from_connection_string
classmethod
#
from_connection_string(connection_string: str, index_db_name: str = DEFAULT_INDEX_DATABASE, index_container_name: str = DEFAULT_INDEX_CONTAINER, cosmos_container_properties: Dict[str, Any] = None, cosmos_database_properties: Dict[str, Any] = None) -> AzureCosmosNoSqlIndexStore
Creates an instance of Azure Cosmos DB NoSql KV Store using a connection string.
Source code in llama-index-integrations/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/llama_index/storage/index_store/azurecosmosnosql/base.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
from_account_and_key
classmethod
#
from_account_and_key(endpoint: str, key: str, index_db_name: str = DEFAULT_INDEX_DATABASE, index_container_name: str = DEFAULT_INDEX_CONTAINER, cosmos_container_properties: Dict[str, Any] = None, cosmos_database_properties: Dict[str, Any] = None) -> AzureCosmosNoSqlIndexStore
Creates an instance of Azure Cosmos DB NoSql KV Store using an account endpoint and key.
Source code in llama-index-integrations/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/llama_index/storage/index_store/azurecosmosnosql/base.py
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
|
from_aad_token
classmethod
#
from_aad_token(endpoint: str, index_db_name: str = DEFAULT_INDEX_DATABASE, index_container_name: str = DEFAULT_INDEX_CONTAINER, cosmos_container_properties: Dict[str, Any] = None, cosmos_database_properties: Dict[str, Any] = None) -> AzureCosmosNoSqlIndexStore
Creates an instance of Azure Cosmos DB NoSql KV Store using an aad token.
Source code in llama-index-integrations/storage/index_store/llama-index-storage-index-store-azurecosmosnosql/llama_index/storage/index_store/azurecosmosnosql/base.py
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
|