diff --git a/documentation/source/changelog.rst b/documentation/source/changelog.rst index 5950669b..92c5a127 100644 --- a/documentation/source/changelog.rst +++ b/documentation/source/changelog.rst @@ -1,6 +1,131 @@ Changelog ========= + +v2.1.0 (2024-01-30) +------------------- + +.. admonition:: Schema Import (deprecation warning) + :class: warning + + Schemas are now exported from genai.schema (the old way of importing remains to work, but you will receive a warning) + + +🚀 Features / Enhancements +^^^^^^^^^^^^^^^^^^^^^^^^^^^ +- feat: refactor schemas for better user experience `#(294) `_ [`@jezekra1 `_] +- feat: add truncate_input_tokens parameter for embeddings `#(280) `_ [`@jezekra1 `_] +- feat: migrate to langchain_core `#(261) `_ [`@David-Kristek `_] +- feat: adjust tests and pipeline to ensure 3.12 compatibility `#(259) `_ [`@jezekra1 `_] +- feat: retrieve service actions metadata `#(260) `_ [`@Tomas2D `_] +- feat(example): add chromadb embedding function `#(270) `_ [`@Tomas2D `_] +- feat(langchain): correctly handles prompt_id and model_id `#(293) `_ [`@Tomas2D `_] +- feat(system-prompts): init module `#(292) `_ [`@Tomas2D `_] +- feat(langchain): add embeddings support `#(289) `_ [`@Tomas2D `_] +- feat(examples): add example of langchain agent with tools `#(268) `_ [`@David-Kristek `_] +- feat(langchain): update core and related dependencies `#(282) `_ [`@Tomas2D `_] + +🐛 Bug Fixes +^^^^^^^^^^^^^ +- fix: rewrite test casettes due to vcrpy update `#(290) `_ [`@jezekra1 `_] +- fix: update vcrpy to released version `#(284) `_ [`@jezekra1 `_] +- fix: external limiter implementation `#(274) `_ [`@Tomas2D `_] +- fix: include overhead in payload size calculation when batching `#(266) `_ [`@jezekra1 `_] +- fix: reduce maximum payload size [`@jezekra1 `_] +- fix: schema action metadata inheritance `#(262) `_ [`@Tomas2D `_] +- fix(docs): redirects `#(298) `_ [`@Tomas2D `_] +- fix(langchain): templates and models `#(293) `_ [`@Tomas2D `_] + +📖 Docs +^^^^^^^ +- docs: update links in README [`@Tomas2D `_] +- docs: update link to the migration guide [`@Tomas2D `_] +- docs: init documentation versioning `#(296) `_ [`@Tomas2D `_] +- docs: add installation note for extensions `#(291) `_ [`@Tomas2D `_] +- docs: update prompt usage example `#(275) `_ [`@Tomas2D `_] +- docs: update migration guide, examples, deploy `#(271) `_ [`@Tomas2D `_] +- docs: update migration guide `#(269) `_ [`@jezekra1 `_] +- docs: update README [`@Tomas2D `_] +- docs: update faq / credentials / migration guide `#(263) `_ [`@Tomas2D `_] +- docs: add changelog `#(257) `_ [`@jezekra1 `_] +- docs: improve examples `#(258) `_ [`@jezekra1 `_] + +⚙️ Other +^^^^^^^^ +- build: add langchain to dev dependencies [`@Tomas2D `_] +- refactor: remove list comprehensions to preserve type-hints `#(301) `_ [`@jezekra1 `_] +- ci: update git checkout for documentation build [`@Tomas2D `_] +- ci: update docs build script [`@Tomas2D `_] +- ci: set CODEOWNERS `#(267) `_ [`@Tomas2D `_] +- build: remove unused dependencies and update versions `#(264) `_ [`@Tomas2D `_] +- ci: check if all tests have markers `#(265) `_ [`@jezekra1 `_] + +**Full Changelog**: `v2.0.0...v2.1.0 `_ + + +🔗 API Endpoint Versions +^^^^^^^^^^^^^^^^^^^^^^^^ + +.. collapse:: API Endpoint Versions + + ======== ================================== ====================== + Method Path Version (YYYY-MM-DD) + ======== ================================== ====================== + GET /v2/api_key 2023-11-22 + POST /v2/api_key/regenerate 2023-11-22 + GET /v2/files 2023-12-15 + POST /v2/files 2023-12-15 + DELETE /v2/files/{id} 2023-11-22 + GET /v2/files/{id} 2023-12-15 + GET /v2/files/{id}/content 2023-11-22 + GET /v2/models 2023-11-22 + GET /v2/models/{id} 2024-01-30 + GET /v2/prompts 2024-01-10 + POST /v2/prompts 2024-01-10 + DELETE /v2/prompts/{id} 2023-11-22 + GET /v2/prompts/{id} 2024-01-10 + PATCH /v2/prompts/{id} 2024-01-10 + PUT /v2/prompts/{id} 2024-01-10 + GET /v2/requests 2023-11-22 + DELETE /v2/requests/chat/{conversationId} 2023-11-22 + GET /v2/requests/chat/{conversationId} 2023-11-22 + DELETE /v2/requests/{id} 2023-11-22 + GET /v2/system_prompts 2023-11-22 + POST /v2/system_prompts 2023-11-22 + DELETE /v2/system_prompts/{id} 2023-11-22 + GET /v2/system_prompts/{id} 2023-11-22 + PUT /v2/system_prompts/{id} 2023-11-22 + GET /v2/tasks 2023-11-22 + POST /v2/text/chat 2024-01-10 + POST /v2/text/chat/output 2024-01-10 + POST /v2/text/chat_stream 2024-01-10 + POST /v2/text/embeddings 2023-11-22 + GET /v2/text/embeddings/limits 2023-11-22 + GET /v2/text/extraction/limits 2023-11-22 + POST /v2/text/generation 2024-01-10 + POST /v2/text/generation/comparison 2023-11-22 + GET /v2/text/generation/limits 2023-11-22 + POST /v2/text/generation/output 2023-11-22 + GET /v2/text/generation/{id}/feedback 2023-11-22 + POST /v2/text/generation/{id}/feedback 2023-11-22 + PUT /v2/text/generation/{id}/feedback 2023-11-22 + POST /v2/text/generation_stream 2024-01-10 + POST /v2/text/moderations 2023-11-22 + POST /v2/text/tokenization 2024-01-10 + GET /v2/tunes 2023-11-22 + POST /v2/tunes 2023-11-22 + POST /v2/tunes/import 2023-11-22 + DELETE /v2/tunes/{id} 2023-11-22 + GET /v2/tunes/{id} 2023-11-22 + PATCH /v2/tunes/{id} 2023-11-22 + GET /v2/tunes/{id}/content/{type} 2023-12-15 + GET /v2/tuning_types 2024-01-30 + DELETE /v2/user 2023-11-22 + GET /v2/user 2023-11-22 + PATCH /v2/user 2023-11-22 + POST /v2/user 2023-11-22 + ======== ================================== ====================== + v2.0.0 (2024-01-15) ------------------- diff --git a/scripts/docs_examples_generator/config.py b/scripts/docs_examples_generator/config.py index 4d8806eb..c198e05a 100644 --- a/scripts/docs_examples_generator/config.py +++ b/scripts/docs_examples_generator/config.py @@ -22,6 +22,7 @@ class GeneratorConfig(BaseModel): "examples.model", "examples.tune", "examples.prompt", + "examples.system_prompt", "examples.file", "examples.user", "examples.request",