Skip to content

Commit

Permalink
v0.10.44 (run-llama#14056)
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-markewich authored Jun 10, 2024
1 parent bddd160 commit 718ef24
Show file tree
Hide file tree
Showing 11 changed files with 361 additions and 182 deletions.
82 changes: 82 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,87 @@
# ChangeLog

## [2024-06-10]

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

- Add WEBP and GIF to supported image types for SimpleDirectoryReader (#14038)
- refactor: add spans to abstractmethods via mixin (#14003)
- Adding streaming support for SQLAutoVectorQueryEngine (#13947)
- add option to specify embed_model to NLSQLTableQueryEngine (#14006)
- add spans for multimodal LLMs (#13966)
- change to compact in auto prev next (#13940)
- feat: add exception events for streaming errors (#13917)
- feat: add spans for tools (#13916)

### `llama-index-embeddings-azure-openai` [0.1.10]

- Fix error when using azure_ad without setting the API key (#13970)

### `llama-index-embeddings-jinaai` [0.2.0]

- add Jina Embeddings MultiModal (#13861)

### `llama-index-embeddings-nomic` [0.3.0]

- Add Nomic multi modal embeddings (#13920)

### `llama-index-graph-stores-neo4j` [0.2.3]

- ensure cypher returns list before iterating (#13938)

### `llama-index-llms-ai21` [0.2.0]

- Add AI21 Labs Jamba-Instruct Support (#14030)

### `llama-index-llms-deepinfra` [0.1.2]

- fix(deepinfrallm): default max_tokens (#13998)

### `llama-index-llms-vllm` [0.1.8]

- correct `__del__()` Vllm (#14053)

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

- Add ZenGuard llamapack (#13959)

### `llama-index-readers-google` [0.2.7]

- fix how class attributes are set in google drive reader (#14022)
- Add Google Maps Text Search Reader (#13884)

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

- Jira personal access token with hosted instances (#13890)

### `llama-index-readers-mongodb` [0.1.6]

- set document ids when loading (#14000)

### `llama-index-retrievers-duckdb-retriever` [0.1.0]

- Add DuckDBRetriever (#13929)

### `llama-index-vector-stores-chroma` [0.1.9]

- Add inclusion filter to chromadb (#14010)

### `llama-index-vector-stores-lancedb` [0.1.5]

- Fix LanceDBVectorStore `add()` logic (#13993)

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

- Support all filter operators for Milvus vector store (#13745)

### `llama-index-vector-stores-postgres` [0.1.10]

- Broaden SQLAlchemy support in llama-index-vector-stores-postgres to 1.4+ (#13936)

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

- Qdrant: Create payload index for `doc_id` (#14001)

## [2024-06-02]

### `llama-index-core` [0.10.43]
Expand Down
82 changes: 82 additions & 0 deletions docs/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,87 @@
# ChangeLog

## [2024-06-10]

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

- Add WEBP and GIF to supported image types for SimpleDirectoryReader (#14038)
- refactor: add spans to abstractmethods via mixin (#14003)
- Adding streaming support for SQLAutoVectorQueryEngine (#13947)
- add option to specify embed_model to NLSQLTableQueryEngine (#14006)
- add spans for multimodal LLMs (#13966)
- change to compact in auto prev next (#13940)
- feat: add exception events for streaming errors (#13917)
- feat: add spans for tools (#13916)

### `llama-index-embeddings-azure-openai` [0.1.10]

- Fix error when using azure_ad without setting the API key (#13970)

### `llama-index-embeddings-jinaai` [0.2.0]

- add Jina Embeddings MultiModal (#13861)

### `llama-index-embeddings-nomic` [0.3.0]

- Add Nomic multi modal embeddings (#13920)

### `llama-index-graph-stores-neo4j` [0.2.3]

- ensure cypher returns list before iterating (#13938)

### `llama-index-llms-ai21` [0.2.0]

- Add AI21 Labs Jamba-Instruct Support (#14030)

### `llama-index-llms-deepinfra` [0.1.2]

- fix(deepinfrallm): default max_tokens (#13998)

### `llama-index-llms-vllm` [0.1.8]

- correct `__del__()` Vllm (#14053)

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

- Add ZenGuard llamapack (#13959)

### `llama-index-readers-google` [0.2.7]

- fix how class attributes are set in google drive reader (#14022)
- Add Google Maps Text Search Reader (#13884)

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

- Jira personal access token with hosted instances (#13890)

### `llama-index-readers-mongodb` [0.1.6]

- set document ids when loading (#14000)

### `llama-index-retrievers-duckdb-retriever` [0.1.0]

- Add DuckDBRetriever (#13929)

### `llama-index-vector-stores-chroma` [0.1.9]

- Add inclusion filter to chromadb (#14010)

### `llama-index-vector-stores-lancedb` [0.1.5]

- Fix LanceDBVectorStore `add()` logic (#13993)

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

- Support all filter operators for Milvus vector store (#13745)

### `llama-index-vector-stores-postgres` [0.1.10]

- Broaden SQLAlchemy support in llama-index-vector-stores-postgres to 1.4+ (#13936)

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

- Qdrant: Create payload index for `doc_id` (#14001)

## [2024-06-02]

### `llama-index-core` [0.10.43]
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/api_reference/packs/zenguard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
::: llama_index.packs.zenguard
options:
members:
- ZenGuardPack
1 change: 1 addition & 0 deletions docs/docs/api_reference/readers/google.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
- GoogleDocsReader
- GoogleDriveReader
- GoogleKeepReader
- GoogleMapsTextSearchReader
- GoogleSheetsReader
5 changes: 5 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ nav:
- ./examples/cookbooks/llama3_cookbook_groq.ipynb
- ./examples/cookbooks/llama3_cookbook_ollama_replicate.ipynb
- ./examples/cookbooks/codestral.ipynb
- ./examples/cookbooks/prometheus2_cookbook.ipynb
- Customization:
- ./examples/customization/streaming/chat_engine_condense_question_stream_response.ipynb
- ./examples/customization/streaming/SimpleIndexDemo-streaming.ipynb
Expand Down Expand Up @@ -160,6 +161,7 @@ nav:
- ./examples/data_connectors/simple_directory_reader_remote_fs.ipynb
- ./examples/data_connectors/GoogleDriveDemo.ipynb
- ./examples/data_connectors/upstage.ipynb
- ./examples/data_connectors/GoogleMapsTextSearchReaderDemo.ipynb
- Discover LlamaIndex:
- ./examples/discover_llamaindex/document_management/Discord_Thread_Management.ipynb
- Docstores:
Expand Down Expand Up @@ -373,6 +375,7 @@ nav:
- ./examples/multi_modal/image_to_image_retrieval.ipynb
- ./examples/multi_modal/anthropic_multi_modal.ipynb
- ./examples/multi_modal/gpt4o_mm_structured_outputs.ipynb
- ./examples/multi_modal/multi_modal_rag_nomic.ipynb
- Multi-Tenancy:
- ./examples/multi_tenancy/multi_tenancy_rag.ipynb
- Node Parsers & Text Splitters:
Expand Down Expand Up @@ -949,6 +952,7 @@ nav:
- ./api_reference/packs/vanna.md
- ./api_reference/packs/vectara_rag.md
- ./api_reference/packs/voyage_query_engine.md
- ./api_reference/packs/zenguard.md
- ./api_reference/packs/zephyr_query_engine.md
- Memory:
- ./api_reference/memory/chat_memory_buffer.md
Expand Down Expand Up @@ -1959,6 +1963,7 @@ plugins:
- ../llama-index-integrations/llms/llama-index-llms-oci-genai
- ../llama-index-integrations/readers/llama-index-readers-azure-devops
- ../llama-index-integrations/retrievers/llama-index-retrievers-duckdb-retriever
- ../llama-index-packs/llama-index-packs-zenguard
- redirects:
redirect_maps:
./api/llama_index.vector_stores.MongoDBAtlasVectorSearch.html: api_reference/storage/vector_store/mongodb.md
Expand Down
2 changes: 1 addition & 1 deletion llama-index-core/llama_index/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Init file of LlamaIndex."""

__version__ = "0.10.43"
__version__ = "0.10.44"

import logging
from logging import NullHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
DEFAULT_RESPONSE_TEMPLATE = (
"Generated Cypher query:\n{query}\n\n" "Cypher Response:\n{response}"
)
DEFAULT_ALLOWED_FIELDS = ["text", "label", "type"]


class TextToCypherRetriever(BasePGRetriever):
Expand Down Expand Up @@ -59,7 +58,7 @@ def __init__(
text_to_cypher_template or graph_store.text_to_cypher_template
)
self.cypher_validator = cypher_validator
self.allowed_output_fields = allowed_output_fields or DEFAULT_ALLOWED_FIELDS
self.allowed_output_fields = allowed_output_fields
super().__init__(graph_store=graph_store, include_text=False)

def _parse_generated_cyher(self, cypher_query: str) -> str:
Expand All @@ -72,7 +71,10 @@ def _clean_query_output(self, query_output: Any) -> Any:
if isinstance(query_output, dict):
filtered = {}
for key, value in query_output.items():
if key in self.allowed_output_fields:
if (
key in self.allowed_output_fields
or self.allowed_output_fields is None
):
filtered[key] = value
elif isinstance(value, (dict, list)):
filtered_value = self._clean_query_output(value)
Expand All @@ -99,7 +101,8 @@ def retrieve_from_graph(self, query_bundle: QueryBundle) -> List[NodeWithScore]:
question=question,
)

parsed_cypher_query = self._parse_generated_cyher(response)
if self.allowed_output_fields is not None:
parsed_cypher_query = self._parse_generated_cyher(response)

query_output = self._graph_store.structured_query(parsed_cypher_query)

Expand Down Expand Up @@ -131,7 +134,8 @@ async def aretrieve_from_graph(
question=question,
)

parsed_cypher_query = self._parse_generated_cyher(response)
if self.allowed_output_fields is not None:
parsed_cypher_query = self._parse_generated_cyher(response)

query_output = await self._graph_store.astructured_query(parsed_cypher_query)

Expand Down
2 changes: 1 addition & 1 deletion llama-index-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ name = "llama-index-core"
packages = [{include = "llama_index"}]
readme = "README.md"
repository = "https://github.com/run-llama/llama_index"
version = "0.10.43"
version = "0.10.44"

[tool.poetry.dependencies]
SQLAlchemy = {extras = ["asyncio"], version = ">=1.4.49"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exclude = ["**/BUILD"]
license = "MIT"
name = "llama-index-vector-stores-postgres"
readme = "README.md"
version = "0.1.9"
version = "0.1.10"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
Expand Down
Loading

0 comments on commit 718ef24

Please sign in to comment.