langchain/docs/docs/integrations/providers
Stefano Lottini 4f4b020582
Add "Astra DB" vector store integration (#12966)
# Astra DB Vector store integration

- **Description:** This PR adds a `VectorStore` implementation for
DataStax Astra DB using its HTTP API
  - **Issue:** (no related issue)
- **Dependencies:** A new required dependency is `astrapy` (`>=0.5.3`)
which was added to pyptoject.toml, optional, as per guidelines
- **Tag maintainer:** I recently mentioned to @baskaryan this
integration was coming
  - **Twitter handle:** `@rsprrs` if you want to mention me

This PR introduces the `AstraDB` vector store class, extensive
integration test coverage, a reworking of the documentation which
conflates Cassandra and Astra DB on a single "provider" page and a new,
completely reworked vector-store example notebook (common to the
Cassandra store, since parts of the flow is shared by the two APIs). I
also took care in ensuring docs (and redirects therein) are behaving
correctly.

All style, linting, typechecks and tests pass as far as the `AstraDB`
integration is concerned.

I could build the documentation and check it all right (but ran into
trouble with the `api_docs_build` makefile target which I could not
verify: `Error: Unable to import module
'plan_and_execute.agent_executor' with error: No module named
'langchain_experimental'` was the first of many similar errors)

Thank you for a review!
Stefano

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2023-11-07 14:45:33 -08:00
..
portkey Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
providers rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
vectara rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
activeloop_deeplake.mdx Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
ai21.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
aim_tracking.ipynb Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
ainetwork.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
airbyte.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
airtable.md rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
aleph_alpha.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
alibabacloud_opensearch.md Adapt to the latest version of Alibaba Cloud OpenSearch vector store API (#11849) 2023-10-16 18:07:24 -07:00
analyticdb.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
annoy.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
anyscale.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
apify.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
arangodb.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
argilla.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
arthur_tracking.ipynb Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
arxiv.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
astradb.mdx Add "Astra DB" vector store integration (#12966) 2023-11-07 14:45:33 -08:00
atlas.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
awadb.md Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
aws_dynamodb.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
azlyrics.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
bageldb.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
bananadev.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
baseten.md Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
beam.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
beautiful_soup.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
bilibili.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
bittensor.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
blackboard.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
brave_search.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
cerebriumai.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
chaindesk.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
chroma.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
clarifai.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
clearml_tracking.ipynb Fix typos (#11663) 2023-10-12 11:44:03 -04:00
clickhouse.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
cnosdb.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
cohere.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
college_confidential.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
comet_tracking.ipynb rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
confident.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
confluence.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
ctransformers.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
dashvector.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
databricks.md rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
datadog_logs.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
datadog.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
dataforseo.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
deepinfra.mdx Improvements to llm/deepinfra (#10846) 2023-10-24 09:54:23 -07:00
deepsparse.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
diffbot.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
dingo.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
discord.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
docarray.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
doctran.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
docugami.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
duckdb.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
elasticsearch.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
epsilla.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
evernote.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
facebook_chat.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
facebook_faiss.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
figma.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
fireworks.md Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
flyte.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
forefrontai.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
git.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
gitbook.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
golden.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
google_serper.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
gooseai.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
gpt4all.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
gradient.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
graphsignal.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
grobid.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
gutenberg.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
hacker_news.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
hazy_research.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
helicone.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
hologres.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
html2text.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
huggingface.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
ifixit.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
imsdb.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
infino.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
javelin_ai_gateway.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
jina.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
johnsnowlabs.mdx johnsnowlabs embeddings support (#11271) 2023-10-26 20:22:50 -07:00
konko.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
lancedb.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
langchain_decorators.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
llamacpp.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
log10.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
marqo.md rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
mediawikidump.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
meilisearch.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
metal.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
milvus.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
minimax.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
mlflow_ai_gateway.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
mlflow_tracking.ipynb rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
modal.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
modelscope.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
modern_treasury.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
momento.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
mongodb_atlas.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
motherduck.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
motorhead.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
myscale.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
neo4j.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
nlpcloud.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
notion.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
nuclia.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
obsidian.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
openllm.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
opensearch.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
openweathermap.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
petals.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
pg_embedding.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
pgvector.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
pinecone.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
pipelineai.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
predibase.md Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
predictionguard.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
promptlayer.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
psychic.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
pubmed.md Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
qdrant.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
ray_serve.ipynb Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
rebuff.ipynb Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
reddit.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
redis.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
replicate.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
roam.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
rockset.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
runhouse.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
rwkv.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
salute_devices.mdx Added GigaChat chat model support (#12201) 2023-10-24 12:53:51 -07:00
scann.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
searchapi.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
searx.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
serpapi.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
shaleprotocol.md Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
singlestoredb.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
sklearn.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
slack.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
spacy.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
spreedly.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
starrocks.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
stochasticai.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
stripe.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
supabase.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
symblai_nebula.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
tair.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
telegram.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
tencentvectordb.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
tensorflow_datasets.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
tigris.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
tomarkdown.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
trello.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
trulens.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
twitter.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
typesense.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
unstructured.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
upstash.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
usearch.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
vearch.md Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
vespa.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
wandb_tracing.ipynb Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
wandb_tracking.ipynb Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
weather.mdx Fix typos (#11663) 2023-10-12 11:44:03 -04:00
weaviate.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
whatsapp.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
whylabs_profiling.ipynb Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
wikipedia.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
wolfram_alpha.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
writer.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
xata.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
xinference.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00
yandex.mdx Add YandexGPT LLM and Chat model (#11703) 2023-10-16 20:30:07 -07:00
yeagerai.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
youtube.mdx Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
zep.mdx zep: Update Zep docs and messaging (#12764) 2023-11-02 13:39:17 -07:00
zilliz.mdx rm .html from local doc links (#12293) 2023-10-25 12:09:41 -07:00