Skip to content

Commit

Permalink
Merge branch 'main' into ssdev
Browse files Browse the repository at this point in the history
* 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
bdonkey committed Mar 11, 2024
2 parents b3be00f + d63fec1 commit 0153d08
Show file tree
Hide file tree
Showing 182 changed files with 15,861 additions and 854 deletions.
11 changes: 9 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Please include a summary of the change and which issue is fixed. Please also inc

Fixes # (issue)

## Version Bump?

Did I bump the version in the `pyproject.toml` file of the package I am updating? (Except for the `llama-index-core` package)

- [ ] Yes
- [ ] No

## Type of Change

Please delete options that are not relevant.
Expand All @@ -13,15 +20,15 @@ Please delete options that are not relevant.
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has This Been Tested?
## How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [ ] Added new unit/integration tests
- [ ] Added new notebook (that tests end-to-end)
- [ ] I stared at the code and made sure it makes sense

# Suggested Checklist:
## Suggested Checklist:

- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
Expand Down
118 changes: 118 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,123 @@
# ChangeLog

## [2024-03-07]

### `llama-index-callbacks-deepeval` [0.1.3]

- Update import path for callback handler (#11754)

### `llama-index-core` [0.10.18]

- Ensure `LoadAndSearchToolSpec` loads document objects (#11733)
- Fixed bug for no nodes in `QueryFusionRetriever` (#11759)
- Allow using different runtime kwargs for different evaluators in `BatchEvalRunner` (#11727)
- Fixed issues with fsspec + `SimpleDirectoryReader` (#11665)
- Remove `asyncio.run()` requirement from guideline evaluator (#11719)

### `llama-index-embeddings-voyageai` [0.1.3]

- Update voyage embeddings to use proper clients (#11721)

### `llama-index-indices-managed-vectara` [0.1.3]

- Fixed issues with vectara query engine in non-summary mode (#11668)

### `llama-index-llms-mymagic` [0.1.5]

- Add `return_output` option for json output with query and response (#11761)

### `llama-index-packs-code-hierarchy` [0.1.0]

- Added support for a `CodeHiearchyAgentPack` that allows for agentic traversal of a codebase (#10671)

### `llama-index-packs-cohere-citation-chat` [0.1.3]

- Added a new llama-pack for citations + chat with cohere (#11697)

### `llama-index-vector-stores-milvus` [0.1.6]

- Prevent forced `flush()` on document add (#11734)

### `llama-index-vector-stores-opensearch` [0.1.7]

- Small typo in metadata column name (#11751)

### `llama-index-vector-stores-tidbvector` [0.1.0]

- Initial support for TiDB vector store (#11635)

### `llama-index-vector-stores-weaviate` [0.1.4]

- Small fix for `int` fields in metadata filters (#11742)

## [2024-03-06]

New format! Going to try out reporting changes per package.

### `llama-index-cli` [0.1.8]

- Update mappings for `upgrade` command (#11699)

### `llama-index-core` [0.10.17]

- add `relative_score` and `dist_based_score` to `QueryFusionRetriever` (#11667)
- check for `none` in async agent queue (#11669)
- allow refine template for `BaseSQLTableQueryEngine` (#11378)
- update mappings for llama-packs (#11699)
- fixed index error for extracting rel texts in KG index (#11695)
- return proper response types from synthesizer when no nodes (#11701)
- Inherit metadata to summaries in DocumentSummaryIndex (#11671)
- Inherit callback manager in sql query engines (#11662)
- Fixed bug with agent streaming not being written to chat history (#11675)
- Fixed a small bug with `none` deltas when streaming a function call with an agent (#11713)

### `llama-index-multi-modal-llms-anthropic` [0.1.2]

- Added support for new multi-modal models `haiku` and `sonnet` (#11656)

### `llama-index-packs-finchat` [0.1.0]

- Added a new llama-pack for hierarchical agents + finance chat (#11387)

### `llama-index-readers-file` [0.1.8]

- Added support for checking if NLTK files are already downloaded (#11676)

### `llama-index-readers-json` [0.1.4]

- Use the metadata passed in when creating documents (#11626)

### `llama-index-vector-stores-astra-db` [0.1.4]

- Update wording in warning message (#11702)

### `llama-index-vector-stores-opensearch` [0.1.7]

- Avoid calling `nest_asyncio.apply()` in code to avoid confusing errors for users (#11707)

### `llama-index-vector-stores-qdrant` [0.1.4]

- Catch RPC errors (#11657)

## [0.10.16] - 2024-03-05

### New Features

- Anthropic support for new models (#11623, #11612)
- Easier creation of chat prompts (#11583)
- Added a raptor retriever llama-pack (#11527)
- Improve batch cohere embeddings through bedrock (#11572)
- Added support for vertex AI embeddings (#11561)

### Bug Fixes / Nits

- Ensure order in async embeddings generation (#11562)
- Fixed empty metadata for csv reader (#11563)
- Serializable fix for composable retrievers (#11617)
- Fixed milvus metadata filter support (#11566)
- FIxed pydantic import in clickhouse vector store (#11631)
- Fixed system prompts for gemini/vertext-gemini (#11511)

## [0.10.15] - 2024-03-01

### New Features
Expand Down
16 changes: 16 additions & 0 deletions docs/community/integrations/vector_stores.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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
Expand Down
Loading

0 comments on commit 0153d08

Please sign in to comment.