- Added support for the Mistral API in the Bedrock module.
Implement new generate_text method in OllamaClient and add options_builder support to GenerateRequestBuilder and ChatRequestBuilder
- Added a new method
generate_text
to theOllamaClient
that collects the stream of responses from thegenerate
method into a single string. - Implemented the
merge_options
function to merge the options provided in the request builder and the options builder. - Added the
options_builder
field to theGenerateRequestBuilder
andChatRequestBuilder
to allow setting options using anOptionsBuilder
. - Added unit tests for the
merge_options
function. - Added a new test case for the
generate_text
method to ensure the maximum number of predictions is respected.