Skip to content

Commit

Permalink
Merge branch 'run-llama:main' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavdixit99 authored May 9, 2024
2 parents d5154a3 + bb91f52 commit c31d456
Show file tree
Hide file tree
Showing 75 changed files with 3,117 additions and 480 deletions.
8 changes: 8 additions & 0 deletions docs/BUILD
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
python_sources()

poetry_requirements(
name="poetry",
)

python_requirements(
name="reqs",
)
21 changes: 21 additions & 0 deletions docs/docs/community/integrations/vector_stores.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ LlamaIndex offers multiple integration points with vector stores / vector databa
LlamaIndex also supports different vector stores
as the storage backend for `VectorStoreIndex`.

- Alibaba Cloud OpenSearch (`AlibabaCloudOpenSearchStore`). [QuickStart](https://help.aliyun.com/zh/open-search/vector-search-edition).
- Amazon Neptune - Neptune Analytics (`NeptuneAnalyticsVectorStore`). [Working with vector similarity in Neptune Analytics](https://docs.aws.amazon.com/neptune-analytics/latest/userguide/vector-similarity.html).
- Apache Cassandra® and Astra DB through CQL (`CassandraVectorStore`). [Installation](https://cassandra.apache.org/doc/stable/cassandra/getting_started/installing.html) [Quickstart](https://docs.datastax.com/en/astra-serverless/docs/vector-search/overview.html)
- Astra DB (`AstraDBVectorStore`). [Quickstart](https://docs.datastax.com/en/astra/home/astra.html).
Expand Down Expand Up @@ -98,6 +99,25 @@ response = query_engine.query("What did the author do growing up?")

Below we show more examples of how to construct various vector stores we support.

**Alibaba Cloud OpenSearch**

```python
from llama_index.vector_stores.alibabacloud_opensearch import (
AlibabaCloudOpenSearchStore,
AlibabaCloudOpenSearchConfig,
)

config = AlibabaCloudOpenSearchConfig(
endpoint="***",
instance_id="***",
username="your_username",
password="your_password",
table_name="llama",
)

vector_store = AlibabaCloudOpenSearchStore(config)
```

**Amazon Neptune - Neptune Analytics**

```python
Expand Down Expand Up @@ -844,6 +864,7 @@ documents = reader.load_data(

## Vector Store Examples

- [Alibaba Cloud OpenSearch](../../examples/vector_stores/AlibabaCloudOpenSearchIndexDemo.ipynb)
- [Amazon Neptune - Neptune Analytics](../../examples/vector_stores/AmazonNeptuneVectorDemo.ipynb)
- [Astra DB](../../examples/vector_stores/AstraDBIndexDemo.ipynb)
- [Async Index Creation](../../examples/vector_stores/AsyncIndexCreationDemo.ipynb)
Expand Down
Loading

0 comments on commit c31d456

Please sign in to comment.