Firestore
FirestoreIndexStore #
Bases: KVIndexStore
Firestore Index store.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
firestore_kvstore |
FirestoreKVStore
|
Firestore key-value store |
required |
namespace |
str
|
namespace for the index store |
None
|
Source code in llama-index-integrations/storage/index_store/llama-index-storage-index-store-firestore/llama_index/storage/index_store/firestore/base.py
7 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 |
|
from_database
classmethod
#
from_database(project: str, database: str, namespace: Optional[str] = None, collection_suffix: Optional[str] = None) -> FirestoreIndexStore
Load a FirestoreIndexStore from a Firestore database.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
project |
str
|
The project which the client acts on behalf of. |
required |
database |
str
|
The database name that the client targets. |
required |
namespace |
str
|
namespace for the docstore. |
None
|
collection_suffix |
str
|
suffix for the collection name |
None
|
Source code in llama-index-integrations/storage/index_store/llama-index-storage-index-store-firestore/llama_index/storage/index_store/firestore/base.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
|