mirror of
https://github.com/james-m-jordan/openai-cookbook.git
synced 2025-05-09 19:32:38 +00:00
Add Astra DB (/Cassandra) to vector databases with example notebooks (#655)
* first commit for the Astra DB / Cassandra notebooks * add json with quotes * towards the final cassIO pilot notebook * small changes to the copy * cassIO pilot completed and its readme done * fix silly markdown error * fix silly markdown error 2 * astra vector link change and vector search picture improved * added link to docs for connecting to Cassandra cluster * CQL version of the flow * revised readme * final adjustments around metrics/distances * links' final version assumes files in openai's main branch * Add ref to QA+vector general guide; fix prompt; clarified conclusion paragraph; typos
This commit is contained in:
parent
2e9704b3b3
commit
4d330b82d7
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
29
examples/vector_databases/cassandra_astradb/README.md
Normal file
29
examples/vector_databases/cassandra_astradb/README.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# Cassandra / Astra DB
|
||||||
|
|
||||||
|
The example notebooks in this directory show how to use the Vector
|
||||||
|
Search capabilities available today in **DataStax Astra DB**, a serverless
|
||||||
|
Database-as-a-Service built on Apache Cassandra®.
|
||||||
|
|
||||||
|
Moreover, support for vector-oriented workloads is making its way to the
|
||||||
|
next major release of Cassandra, so that the code examples in this folder
|
||||||
|
are designed to work equally well on it as soon as the vector capabilities
|
||||||
|
get released.
|
||||||
|
|
||||||
|
If you want to know more about Astra DB and its Vector Search capabilities,
|
||||||
|
head over to [astra.datastax.com](https://docs.datastax.com/en/astra-serverless/docs/vector-search/overview.html) or try out one
|
||||||
|
of these hands-on notebooks straight away:
|
||||||
|
|
||||||
|
### Example notebooks
|
||||||
|
|
||||||
|
The following examples show how easily OpenAI and DataStax Astra DB can
|
||||||
|
work together to power vector-based AI applications. You can run them either
|
||||||
|
with your local Jupyter engine or as Colab notebooks:
|
||||||
|
|
||||||
|
| Use case | Framework | Notebook | Google Colab |
|
||||||
|
| -------- | --------- | -------- | ------------ |
|
||||||
|
| Search/generate quotes | CassIO | [Notebook](./Philosophical_Quotes_cassIO.ipynb) | [](https://colab.research.google.com/github/openai/openai-cookbook/blob/main/examples/vector_databases/cassandra_astradb/Philosophical_Quotes_cassIO.ipynb) |
|
||||||
|
| Search/generate quotes | Plain Cassandra language | [Notebook](./Philosophical_Quotes_CQL.ipynb) | [](https://colab.research.google.com/github/openai/openai-cookbook/blob/main/examples/vector_databases/cassandra_astradb/Philosophical_Quotes_CQL.ipynb) |
|
||||||
|
|
||||||
|
### Vector similarity, visual representation
|
||||||
|
|
||||||
|

|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user