From de47f8ca0d2074d44aad352a7f6037590d083805 Mon Sep 17 00:00:00 2001 From: Logan <logan.markewich@live.com> Date: Fri, 5 Jan 2024 20:04:35 -0600 Subject: [PATCH] [version] bump to v0.9.26 (#9870) --- CHANGELOG.md | 18 ++++++++++++++++++ llama_index/VERSION | 2 +- .../storage/chat_store/simple_chat_store.py | 6 +++--- pyproject.toml | 2 +- 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 421b13bdea..30405166d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # ChangeLog +## [0.9.26] - 2024-01-05 + +### New Features + +- Added a `BaseChatStore` and `SimpleChatStore` abstraction for dedicated chat memory storage (#9863) +- Enable custom `tree_sitter` parser to be passed into `CodeSplitter` (#9845) +- Created a `BaseAutoRetriever` base class, to allow other retrievers to extend to auto modes (#9846) +- Added support for Nvidia Triton LLM (#9488) +- Added `DeepEval` one-click observability (#9801) + +### Bug Fixes / Nits + +- Updated the guidance integration to work with the latest version (#9830) +- Made text storage optional for doctores/ingestion pipeline (#9847) +- Added missing `sphinx-automodapi` dependency for docs (#9852) +- Return actual node ids in weaviate query results (#9854) +- Added prompt formatting to LangChainLLM (#9844) + ## [0.9.25] - 2024-01-03 ### New Features diff --git a/llama_index/VERSION b/llama_index/VERSION index 26dfa8dc6e..46e7a71284 100644 --- a/llama_index/VERSION +++ b/llama_index/VERSION @@ -1 +1 @@ -0.9.25.post1 +0.9.26 diff --git a/llama_index/storage/chat_store/simple_chat_store.py b/llama_index/storage/chat_store/simple_chat_store.py index eb1ab4c2b6..74bc1a1464 100644 --- a/llama_index/storage/chat_store/simple_chat_store.py +++ b/llama_index/storage/chat_store/simple_chat_store.py @@ -72,7 +72,7 @@ class SimpleChatStore(BaseChatStore): fs.makedirs(dirpath) with fs.open(persist_path, "w") as f: - f.write(json.dumps(self.store)) + f.write(json.dumps(self.json())) @classmethod def from_persist_path( @@ -85,5 +85,5 @@ class SimpleChatStore(BaseChatStore): if not fs.exists(persist_path): return cls() with fs.open(persist_path, "r") as f: - store = json.load(f) - return cls(store=store) + data = json.load(f) + return cls.parse_raw(data) diff --git a/pyproject.toml b/pyproject.toml index b97a685d70..9d6bc389e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ name = "llama-index" packages = [{include = "llama_index"}] readme = "README.md" repository = "https://github.com/run-llama/llama_index" -version = "0.9.25.post1" +version = "0.9.26" [tool.poetry.dependencies] SQLAlchemy = {extras = ["asyncio"], version = ">=1.4.49"} -- GitLab