langchain/docs/extras/modules/data_connection/vectorstores/integrations
dirtysalt 57cc3d1d3d
[Feature][VectorStore] Support StarRocks as vector db (#6119)
<!--
Thank you for contributing to LangChain! Your PR will appear in our
release under the title you set. Please make sure it highlights your
valuable contribution.

Replace this with a description of the change, the issue it fixes (if
applicable), and relevant context. List any dependencies required for
this change.

After you're done, someone will review your PR. They may suggest
improvements. If no one reviews your PR within a few days, feel free to
@-mention the same people again, as notifications can get lost.

Finally, we'd love to show appreciation for your contribution - if you'd
like us to shout you out on Twitter, please also include your handle!
-->

<!-- Remove if not applicable -->

Fixes # (issue)

#### Before submitting

<!-- If you're adding a new integration, please include:

1. a test for the integration - favor unit tests that does not rely on
network access.
2. an example notebook showing its use


See contribution guidelines for more information on how to write tests,
lint
etc:


https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->

Here are some examples to use StarRocks as vectordb

```
from langchain.vectorstores import StarRocks
from langchain.vectorstores.starrocks import StarRocksSettings

embeddings = OpenAIEmbeddings()

# conifgure starrocks settings
settings = StarRocksSettings()
settings.port = 41003
settings.host = '127.0.0.1'
settings.username = 'root'
settings.password = ''
settings.database = 'zya'

# to fill new embeddings
docsearch = StarRocks.from_documents(split_docs, embeddings, config = settings)   


# or to use already-built embeddings in database.
docsearch = StarRocks(embeddings, settings)
```

#### Who can review?

Tag maintainers/contributors who might be interested:

@dev2049 

<!-- For a quicker response, figure out the right person to tag with @

  @hwchase17 - project lead

  Tracing / Callbacks
  - @agola11

  Async
  - @agola11

  DataLoaders
  - @eyurtsev

  Models
  - @hwchase17
  - @agola11

  Agents / Tools / Toolkits
  - @hwchase17

  VectorStores / Retrievers / Memory
  - @dev2049

 -->

---------

Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
2023-06-21 09:02:33 -07:00
..
faiss_index
alibabacloud_opensearch.ipynb Add Alibaba Cloud OpenSearch as a new vector store (#6154) 2023-06-20 10:07:40 -07:00
analyticdb.ipynb
annoy.ipynb
atlas.ipynb
awadb.ipynb
azuresearch.ipynb
cassandra.ipynb Vector store support for Cassandra (#6426) 2023-06-20 10:46:20 -07:00
chroma.ipynb
deeplake.ipynb Harrison/deeplake new features (#6263) 2023-06-16 17:53:55 -07:00
docarray_hnsw.ipynb
docarray_in_memory.ipynb
elasticsearch.ipynb
faiss.ipynb
hologres.ipynb
lancedb.ipynb
matchingengine.ipynb
milvus.ipynb
myscale.ipynb Harrison/myscale self query (#6376) 2023-06-18 16:53:10 -07:00
opensearch.ipynb Harrison/mmr support for opensearch (#6349) 2023-06-17 12:22:37 -07:00
pgvector.ipynb
pinecone.ipynb
qdrant.ipynb
redis.ipynb
rockset_vector_database.ipynb Integrate Rockset as Vectorstore (#6216) 2023-06-21 01:22:27 -07:00
singlestoredb.ipynb Update SinglStoreDB vectorstore (#6423) 2023-06-19 22:08:58 -07:00
sklearn.ipynb
starrocks.ipynb [Feature][VectorStore] Support StarRocks as vector db (#6119) 2023-06-21 09:02:33 -07:00
supabase.ipynb
tair.ipynb
tigris.ipynb
typesense.ipynb
vectara.ipynb
weaviate.ipynb
zilliz.ipynb