From e845c41b92526907bc548eae4141a978d7310ae3 Mon Sep 17 00:00:00 2001 From: github_actions_lisa Date: Thu, 19 Dec 2024 07:26:26 +0000 Subject: [PATCH 1/5] Updating version for release v3.4.0 --- VERSION | 2 +- lib/user-interface/react/package.json | 2 +- lisa-sdk/pyproject.toml | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 4772543..1809198 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.2 +3.4.0 diff --git a/lib/user-interface/react/package.json b/lib/user-interface/react/package.json index a7a5ae1..91a1919 100644 --- a/lib/user-interface/react/package.json +++ b/lib/user-interface/react/package.json @@ -1,7 +1,7 @@ { "name": "lisa-web", "private": true, - "version": "3.3.2", + "version": "3.4.0", "type": "module", "scripts": { "dev": "vite", diff --git a/lisa-sdk/pyproject.toml b/lisa-sdk/pyproject.toml index 01cda84..79bb982 100644 --- a/lisa-sdk/pyproject.toml +++ b/lisa-sdk/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "lisapy" -version = "3.3.2" +version = "3.4.0" description = "A simple SDK to help you interact with LISA. LISA is an LLM hosting solution for AWS dedicated clouds or ADCs." authors = ["Steve Goley "] readme = "README.md" diff --git a/package.json b/package.json index d8da341..c0d4fba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lisa", - "version": "3.3.2", + "version": "3.4.0", "bin": { "lisa": "bin/lisa.js" }, From def26ec44c6f74a97707ccf14bbda6905ce18efd Mon Sep 17 00:00:00 2001 From: Evan Stohlmann Date: Thu, 19 Dec 2024 09:24:24 -0700 Subject: [PATCH 2/5] 3.4.0 changelog --- CHANGELOG.md | 30 ++++++++++++++++++++++ lib/user-interface/react/package-lock.json | 4 +-- package-lock.json | 4 +-- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4569ff3..b1f2208 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +# v3.4.0 +## Key Features +### Vector Store Support +- Implemented support for multiple vector stores of the same type. For example, you can now configure more than 1 OpenSearch vector store with LISA. +- Introduced granular access control for vector stores based on a list of provided IDP groups. If a list isn’t provided the vector store is available to all LISA users. +- Expanded APIs for vector store file management to now include file listing and removal capabilities. + +### Deployment Flexibility +- Enabled custom IAM role overrides with documented minimum permissions available on our [documentation site](https://awslabs.github.io/LISA/config/role-overrides) +- Introduced partition and domain override functionality + +## Other System Enhancements +- Enhanced create model validation to ensure data integrity +- Upgraded to Python 3.11 runtime for improved performance +- Updated various third-party dependencies to maintain security and functionality +- Updated the ChatUI: + - Refined ChatUI for improved message display + - Upgraded markdown parsing capabilities + - Implemented a copy feature for AI-generated responses + +## Coming soon +Happy Holidays! We have a lot in store for 2025. Our roadmap is customer driven. Please reach out to us via Github issues to talk more! Early in the new year you’ll see chatbot UI and vector store enhancements. + +## Acknowledgements +* @bedanley +* @estohlmann +* @dustins + +**Full Changelog**: https://github.com/awslabs/LISA/compare/v3.3.2...v3.4.0 + # v3.3.2 ## Bug Fixes - Resolved issue where invalid schema import was causing create model api calls to fail diff --git a/lib/user-interface/react/package-lock.json b/lib/user-interface/react/package-lock.json index 337613f..cd0c4fd 100644 --- a/lib/user-interface/react/package-lock.json +++ b/lib/user-interface/react/package-lock.json @@ -1,12 +1,12 @@ { "name": "lisa-web", - "version": "3.3.2", + "version": "3.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lisa-web", - "version": "3.3.2", + "version": "3.4.0", "dependencies": { "@cloudscape-design/collection-hooks": "^1.0.23", "@cloudscape-design/component-toolkit": "^1.0.0-beta.65", diff --git a/package-lock.json b/package-lock.json index 01dd97d..e636142 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lisa", - "version": "3.3.2", + "version": "3.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lisa", - "version": "3.3.2", + "version": "3.4.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { From b7ee3acb9f01db36c2045484e0225a2d1dbf4f13 Mon Sep 17 00:00:00 2001 From: Bear Danley Date: Thu, 19 Dec 2024 16:54:13 +0000 Subject: [PATCH 3/5] Rename repo function --- lambda/repository/rag_document_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambda/repository/rag_document_repo.py b/lambda/repository/rag_document_repo.py index 1e87cc0..c16ae5b 100644 --- a/lambda/repository/rag_document_repo.py +++ b/lambda/repository/rag_document_repo.py @@ -134,7 +134,7 @@ def find_by_id(self, document_id: str) -> RagDocument: print(f"Error querying document: {e.response['Error']['Message']}") raise - def _get_documents_by_name(self, repository_id: str, collection_id: str, document_name: str) -> list[RagDocument]: + def find_by_name(self, repository_id: str, collection_id: str, document_name: str) -> list[RagDocument]: """Get a list of documents from the RagDocTable by name. Args: From b8d499427300f43da920e5b2d2b2537445172e92 Mon Sep 17 00:00:00 2001 From: Evan Stohlmann Date: Thu, 19 Dec 2024 10:27:42 -0700 Subject: [PATCH 4/5] reducer updates --- .../react/src/shared/reducers/configuration.reducer.ts | 3 +++ .../react/src/shared/reducers/model-management.reducer.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/user-interface/react/src/shared/reducers/configuration.reducer.ts b/lib/user-interface/react/src/shared/reducers/configuration.reducer.ts index 14d1756..6c2cad4 100644 --- a/lib/user-interface/react/src/shared/reducers/configuration.reducer.ts +++ b/lib/user-interface/react/src/shared/reducers/configuration.reducer.ts @@ -21,6 +21,9 @@ import { IConfiguration } from '../model/configuration.model'; export const configurationApi = createApi({ reducerPath: 'configuration', baseQuery: lisaBaseQuery(), + tagTypes: ['configuration'], + refetchOnFocus: true, + refetchOnReconnect: true, endpoints: (builder) => ({ getConfiguration: builder.query({ query: (configScope) => ({ diff --git a/lib/user-interface/react/src/shared/reducers/model-management.reducer.ts b/lib/user-interface/react/src/shared/reducers/model-management.reducer.ts index 994eb4c..55de56c 100644 --- a/lib/user-interface/react/src/shared/reducers/model-management.reducer.ts +++ b/lib/user-interface/react/src/shared/reducers/model-management.reducer.ts @@ -21,6 +21,9 @@ import { IModel, IModelListResponse, IModelRequest, IModelUpdateRequest } from ' export const modelManagementApi = createApi({ reducerPath: 'models', baseQuery: lisaBaseQuery(), + tagTypes: ['models'], + refetchOnFocus: true, + refetchOnReconnect: true, endpoints: (builder) => ({ getAllModels: builder.query({ query: () => ({ From bff8388c5edcaf03c023cb3fe0bcaf6c9d7e78ae Mon Sep 17 00:00:00 2001 From: Evan Stohlmann Date: Thu, 19 Dec 2024 15:02:51 -0700 Subject: [PATCH 5/5] Added config debugging print statement --- lib/serve/rest-api/src/utils/generate_litellm_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/serve/rest-api/src/utils/generate_litellm_config.py b/lib/serve/rest-api/src/utils/generate_litellm_config.py index 5bac7f4..95defdc 100644 --- a/lib/serve/rest-api/src/utils/generate_litellm_config.py +++ b/lib/serve/rest-api/src/utils/generate_litellm_config.py @@ -80,6 +80,8 @@ def generate_config(filepath: str) -> None: } ) + print(f"Generated config_contents file: \n{json.dumps(config_contents, indent=2)}") + # Write updated config back to original path with open(filepath, "w") as fp: yaml.safe_dump(config_contents, fp)