Tablestore
TablestoreIndexStore #
基类: KVIndexStore
Tablestore索引存储。
参数
名称 | 类型 | 描述 | 默认值 |
---|---|---|---|
tablestore_kvstore
|
TablestoreKVStore
|
Tablestore键值存储 |
必需 |
namespace
|
str
|
索引存储的命名空间 |
'llama_index_index_store_'
|
collection_suffix
|
str
|
表名的后缀 |
'data'
|
源代码在 llama-index-integrations/storage/index_store/llama-index-storage-index-store-tablestore/llama_index/storage/index_store/tablestore/base.py
8 9 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 |
|
from_config 类方法
#
from_config(endpoint: Optional[str] = None, instance_name: Optional[str] = None, access_key_id: Optional[str] = None, access_key_secret: Optional[str] = None, **kwargs: Any) -> TablestoreIndexStore
从配置加载TablestoreIndexStore。
源代码在 llama-index-integrations/storage/index_store/llama-index-storage-index-store-tablestore/llama_index/storage/index_store/tablestore/base.py
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
|
delete_all_index #
delete_all_index()
删除所有索引。
源代码在 llama-index-integrations/storage/index_store/llama-index-storage-index-store-tablestore/llama_index/storage/index_store/tablestore/base.py
52 53 54 |
|