Skip to content

Commit

Permalink
Update missing changelog and fix typing (run-llama#8620)
Browse files Browse the repository at this point in the history
* update change log and fix types

* wip
  • Loading branch information
Disiok authored Nov 1, 2023
1 parent 0ec94ed commit cdfebe6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,20 @@

## Unreleased

### New Features

- Add `SingleStoreDB` integration (#7991)
- Add support for ChromaDB PersistentClient (#8582)

### Bug Fixes / Nits

- Update dataType in Weaviate (#8608)
- In Knowledge Graph Index with hybrid retriever_mode,
- return the nodes found by keyword search when 'No Relationship found'
- Fix exceed context length error in chat engines (#8530)
- Retrieve actual content of all the triplets from KG (#8579)
- Return the nodes found by Keywords when no relationship is found by embeddings in hybrid retriever_mode in `KnowledgeGraphIndex` (#8575)
- Optimize content of retriever tool and minor bug fix (#8588)

## [0.8.56] - 2023-10-30

Expand Down
6 changes: 3 additions & 3 deletions llama_index/vector_stores/singlestoredb.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json
import logging
from typing import Any, List, Optional
from typing import Any, List, Optional, Sequence

from sqlalchemy.pool import QueuePool

Expand Down Expand Up @@ -172,7 +172,7 @@ def delete(self, ref_doc_id: str, **delete_kwargs: Any) -> None:
conn.close()

def query(
self, query: VectorStoreQuery, filter: Optional[dict] = None
self, query: VectorStoreQuery, filter: Optional[dict] = None, **kwargs: Any
) -> VectorStoreQueryResult:
"""
Query index for top k most similar nodes.
Expand Down Expand Up @@ -218,7 +218,7 @@ def build_where_clause(
build_where_clause(where_clause_values, filter)
where_clause += " AND ".join(arguments)

results = []
results: Sequence[Any] = []
if query_embedding:
try:
cur = conn.cursor()
Expand Down

0 comments on commit cdfebe6

Please sign in to comment.