mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-30 10:23:30 +00:00
Add document loader section to Astra provider doc page (#15882)
See preview: https://langchain-git-fork-cbornet-provider-astra-doc-loader-langchain.vercel.app/docs/integrations/providers/astradb#ocument-loader
This commit is contained in:
parent
611f18c944
commit
c56060bb7d
@ -70,6 +70,19 @@ message_history = AstraDBChatMessageHistory(
|
|||||||
|
|
||||||
Learn more in the [example notebook](/docs/integrations/memory/astradb_chat_message_history).
|
Learn more in the [example notebook](/docs/integrations/memory/astradb_chat_message_history).
|
||||||
|
|
||||||
|
### Document loader
|
||||||
|
|
||||||
|
```python
|
||||||
|
from langchain_community.document_loaders import AstraDBLoader
|
||||||
|
loader = AstraDBLoader(
|
||||||
|
api_endpoint="...",
|
||||||
|
token="...",
|
||||||
|
collection_name="my_collection"
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
Learn more in the [example notebook](/docs/integrations/document_loaders/astradb).
|
||||||
|
|
||||||
|
|
||||||
## Apache Cassandra and Astra DB through CQL
|
## Apache Cassandra and Astra DB through CQL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user