updated Readme

This commit is contained in:
Amith Koujalgi 2023-11-08 14:49:58 +05:30
parent 5a916a4e9f
commit 0c91db1d03

View File

@ -196,6 +196,14 @@ Find the full `Javadoc` (API specifications) [here](https://amithkoujalgi.github
- Use Java-naming conventions for attributes in the request/response models instead of the snake-case conventions. ( - Use Java-naming conventions for attributes in the request/response models instead of the snake-case conventions. (
possibly with Jackson-mapper's `@JsonProperty`) possibly with Jackson-mapper's `@JsonProperty`)
- Fix deprecated HTTP client code - Fix deprecated HTTP client code
- Add additional params for `ask` APIs such as:
- `options`: additional model parameters for the Modelfile such as `temperature`
- `system`: system prompt to (overrides what is defined in the Modelfile)
- `template`: the full prompt or prompt template (overrides what is defined in the Modelfile)
- `context`: the context parameter returned from a previous request, which can be used to keep a short
conversational memory
- `stream`: Add support for streaming responses from the model
- Setup logging - Setup logging
- Add test cases - Add test cases
- Handle exceptions better (maybe throw more appropriate exceptions) - Handle exceptions better (maybe throw more appropriate exceptions)