forked from Mirror/ollama4j
Updated models with @JsonProperty to have Java-naming conventions for attributes
This commit is contained in:
13
README.md
13
README.md
@@ -307,20 +307,19 @@ Find the full `Javadoc` (API specifications) [here](https://amithkoujalgi.github
|
||||
|
||||
#### Areas of improvement
|
||||
|
||||
- Use Java-naming conventions for attributes in the request/response models instead of the snake-case conventions. (
|
||||
- [x] Use Java-naming conventions for attributes in the request/response models instead of the snake-case conventions. (
|
||||
possibly with Jackson-mapper's `@JsonProperty`)
|
||||
- Fix deprecated HTTP client code
|
||||
- Add additional params for `ask` APIs such as:
|
||||
- [ ] 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
|
||||
- Add test cases
|
||||
- Handle exceptions better (maybe throw more appropriate exceptions)
|
||||
- [x] Setup logging
|
||||
- [ ] Add test cases
|
||||
- [ ] Handle exceptions better (maybe throw more appropriate exceptions)
|
||||
|
||||
#### Get Involved
|
||||
|
||||
|
||||
Reference in New Issue
Block a user