mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-19 00:58:32 +00:00
docs: Update langchain-astradb README with AstraDBStore (#17864)
This commit is contained in:
committed by
GitHub
parent
3acd0c74fc
commit
f8a3b8e83f
@@ -30,6 +30,28 @@ my_store = AstraDBVectorStore(
|
||||
)
|
||||
```
|
||||
|
||||
### Store
|
||||
|
||||
```python
|
||||
from langchain_astradb import AstraDBStore
|
||||
store = AstraDBStore(
|
||||
collection_name="my_kv_store",
|
||||
api_endpoint="...",
|
||||
token="..."
|
||||
)
|
||||
```
|
||||
|
||||
### Byte Store
|
||||
|
||||
```python
|
||||
from langchain_astradb import AstraDBByteStore
|
||||
store = AstraDBByteStore(
|
||||
collection_name="my_kv_store",
|
||||
api_endpoint="...",
|
||||
token="..."
|
||||
)
|
||||
```
|
||||
|
||||
## Reference
|
||||
|
||||
See the [LangChain docs page](https://python.langchain.com/docs/integrations/providers/astradb) for a more detailed listing.
|
||||
|
Reference in New Issue
Block a user