From e69c4e11663cb398e4cd9107e1ef562dcc7d1447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Juvenal?= Date: Fri, 11 Oct 2024 11:15:30 -0300 Subject: [PATCH] Release 0.1.0 --- CHANGELOG.md | 13 ++++++++++++- example/package.json | 2 +- frontend/openapi_schema.json | 2 +- frontend/package.json | 2 +- frontend/src/client/core/OpenAPI.ts | 2 +- pyproject.toml | 2 +- 6 files changed, 17 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b403e37..0c6c489 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,11 +3,22 @@ This changelog references changes made both to the Django backend, `django-ai-assistant`, and the frontend TypeScript client, `django-ai-assistant-client`. - !!! note The backend and the frontend are versioned together, that is, they have the same version number. When you update the backend, you should also update the frontend to the same version. +## 0.1.0 October 11, 2024 {id="0.1.0"} + +- Refactor the code to use LangGraph instead of LangChain LCEL + (except for RAG functionality, see the `get_history_aware_retriever` method). +- Store all messages in the `Thread` model, including tool calls and their outputs. +- Allow separation of threads per assistant: `assistant_id` in the `Thread` model. +- New `updateThread` function from `useThreadList` hook. +- Improved examples: + - Add markdown rendering to HTMX example. + - Better Movie Recommendation example. + - Better Tour Guide example. + ## 0.0.4 July 5, 2024 {id="0.0.4"} - Fix frontend README. diff --git a/example/package.json b/example/package.json index 8cc6626..d74c7ce 100644 --- a/example/package.json +++ b/example/package.json @@ -44,7 +44,7 @@ "@mantine/notifications": "^7.11.0", "@tabler/icons-react": "^3.7.0", "cookie": "^0.6.0", - "django-ai-assistant-client": "0.0.4", + "django-ai-assistant-client": "0.1.0", "modern-normalize": "^2.0.0", "react-markdown": "^9.0.1", "react-router-dom": "^6.24.0" diff --git a/frontend/openapi_schema.json b/frontend/openapi_schema.json index 4f0d936..27ca969 100644 --- a/frontend/openapi_schema.json +++ b/frontend/openapi_schema.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "django_ai_assistant", - "version": "0.0.4", + "version": "0.1.0", "description": "" }, "paths": { diff --git a/frontend/package.json b/frontend/package.json index 0ac2975..d5307fa 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -20,7 +20,7 @@ "engines": { "node": ">=20 <21" }, - "version": "0.0.4", + "version": "0.1.0", "description": "TypeScript client to facilitate the integration with the Django AI Assistant backend.", "homepage": "https://github.com/vintasoftware/django-ai-assistant", "documentation": "https://vintasoftware.github.io/django-ai-assistant", diff --git a/frontend/src/client/core/OpenAPI.ts b/frontend/src/client/core/OpenAPI.ts index 45d5276..74f92b4 100644 --- a/frontend/src/client/core/OpenAPI.ts +++ b/frontend/src/client/core/OpenAPI.ts @@ -48,7 +48,7 @@ export const OpenAPI: OpenAPIConfig = { PASSWORD: undefined, TOKEN: undefined, USERNAME: undefined, - VERSION: '0.0.4', + VERSION: '0.1.0', WITH_CREDENTIALS: false, interceptors: { request: new Interceptors(), diff --git a/pyproject.toml b/pyproject.toml index 4aad09a..0527e30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "django-ai-assistant" -version = "0.0.4" +version = "0.1.0" description = "Django app to integrate with OpenAI Assistants API" authors = ["Vinta Software "] license = "MIT"