forked from run-llama/llama_index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* main: (63 commits) Add LogProb type to core.base.llms module (run-llama#11795) Add Passio Nutrition AI Food Search Tool to LLAMA_index (run-llama#11621) Create new RTF integration (run-llama#11466) SearChain package reproduced using Llama_index library (run-llama#11649) Update ReAct prompt for multilingual support (run-llama#11464) Integration in Google Sheets Reader to load the Sheets into Pandas Dataframes (run-llama#11640) add claude3 benchmarks (run-llama#11685) nit: add link to code hierarchy notebook (run-llama#11769) feat: nested metadata filters (PGVectorStore) (run-llama#11778) [BUG] llama-index-tools-finance (run-llama#11772) docs: Updated Qdrant usage examples (run-llama#11768) update toml for code hierarchy (run-llama#11776) remove unneeded chroma deps (run-llama#11775) Minor improvement for TiDB Vector (run-llama#11766) The PrivateAttr should be imported from llama_index.core.bridge.pydantic instead of pydantic (run-llama#11765) Logan/v0.10.18 (run-llama#11763) Code Hierarchy Node Parser v0.10 (run-llama#10671) bug fixed in OpenInference log that cause error with importing (run-llama#11751) Feat/mymagic-return-output (run-llama#11761) Add Initial Support for TiDB Vector Store (run-llama#11635) ...
- Loading branch information
Showing
182 changed files
with
15,861 additions
and
854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ as the storage backend for `VectorStoreIndex`. | |
- LanceDB (`LanceDBVectorStore`) [Installation/Quickstart](https://lancedb.github.io/lancedb/basic/) | ||
- Redis (`RedisVectorStore`). [Installation](https://redis.io/docs/getting-started/installation/). | ||
- Supabase (`SupabaseVectorStore`). [Quickstart](https://supabase.github.io/vecs/api/). | ||
- TiDB (`TiDBVectorStore`). [Installation](https://tidb.cloud/ai). [Python Client](https://github.com/pingcap/tidb-vector-python). | ||
- TimeScale (`TimescaleVectorStore`). [Installation](https://github.com/timescale/python-vector). | ||
- Upstash (`UpstashVectorStore`). [Quickstart](https://upstash.com/docs/vector/overall/getstarted) | ||
- Weaviate (`WeaviateVectorStore`). [Installation](https://weaviate.io/developers/weaviate/installation). [Python Client](https://weaviate.io/developers/weaviate/client-libraries/python). | ||
|
@@ -580,6 +581,21 @@ vector_store = SingleStoreVectorStore( | |
) | ||
``` | ||
|
||
**TiDB** | ||
|
||
```python | ||
from llama_index.vector_stores.tidbvector import TiDBVectorStore | ||
|
||
tidbvec = TiDBVectorStore( | ||
# connection url format | ||
# - mysql+pymysql://[email protected]:4000/test | ||
connection_string="PLACEHOLDER URL", | ||
table_name="llama_index_vectorstore", | ||
distance_strategy="cosine", | ||
vector_dimension=1536, | ||
) | ||
``` | ||
|
||
**Timescale** | ||
|
||
```python | ||
|
Oops, something went wrong.