Changelog for genaiPlatform Version 2.1
[2.1.0]
Added
- GenaiCore.Llm.Embedding.Client
- Added GenaiCore.Llm.Embedding.Client abstract interface for a text and/or image embedding client for an LLM service.
- Added GenaiCore.Embedder.Llm to facilitate integration with existing GenaiCore.Embedder interface.
- GenaiCore.Embedder.Hf#uploadModelFiles
- Added support for persisting Huggingface embedder files in C3 to freeze and avoid future downloads from Huggingface.
- GenaiCore.Llm.Completion#completionBatch
- Added support for synchronous thread-parallelized batch completion.
- GenaiCore.Llm.Completion#submitCompletionJob
- Added support for asynchronous batch completion, through GenaiCore.Llm.BatchRequestJob.
- GenaiCore.Llm.Processor
- Added GenaiCore.Llm.Processor abstract interface for LLM request/response pre/post-processing.
- Added GenaiCore.Llm.Processor.Lambda to support pre/post-processing using lambda.
- GenaiCore.Llm.AzureAi.Model
- Added GenaiCore.Llm.AzureAi.Model to support LLMs from Azure Ai Model Catalog.
- Added support for
safety_settings(only applicable to Vertex Ai models) as an option for GenaiCore.Llm.Completion#completion. - Added optional tracing to all core components, enabled through Observability.Tracer.Config#enableTracing:
- GenaiCore.Tool
- Added GenaiCore.Tool abstract interface for representing a tool in an agentic flow.
- Added GenaiCore.Tool.C3Method to support tools made from existing C3 methods, both
staticandmember. - Added GenaiCore.Tool.NativePy to support tools with native Python implementations.
Updated
py-llmand related runtimes upgraded to update the version oflitellmfrom1.46.1to1.63.11and to includepy-opentelemetrypy-litellmpy-vertexai_litellmpy-bedrock_litellm
GenaiCore.BaseUserpermissions expanded to be more thorough.
Fixed
- Fixed error in GenaiCore.SessionStore.Kv when the session state exceeds the kv store (e.g. Cassandra) limit for a single entry, by using filesystem-based storage when storage size is exceeded.
- Fixed concurrency issue when writing/reading different sessions in the same GenaiCore.SessionStore.Kv.
Removed
- In-memory caching for GenaiCore.Llm.Auth