Markus Klenke
a635dd9be2
Renames request caller to endpoint caller
2024-02-10 00:22:21 +00:00
Markus Klenke
14982011d9
Adds chat-API with OllamaChatResult
2024-02-09 22:49:28 +00:00
Markus Klenke
65d852fdc9
Creates OllamaChatResult extension class
2024-02-09 22:48:48 +00:00
Markus Klenke
d483c23c81
Adds documentation to OllamaServerCaller
2024-02-09 22:48:19 +00:00
Markus Klenke
273b1e47ca
Removes unneccessary override of OllamaRequestBody method
2024-02-09 21:58:17 +00:00
Markus Klenke
5c5cdba4cd
Merge remote-tracking branch 'origin/main' into feature/chat-request-model
2024-02-09 21:56:10 +00:00
Markus Klenke
f9063484f3
Fixes recursive JacksonMarshalling on BodyPublisher
2024-02-09 17:07:18 +00:00
Markus Klenke
5e2a07ad41
Adds model property to Model Type
2024-02-09 16:54:09 +00:00
Markus Klenke
00a3e51a93
Extends OllamaAPI by Chat methods and refactors synchronous Generate API Methods
2024-02-09 16:32:52 +00:00
Markus Klenke
bc20468f28
Applies OllamaRequestBody to OllamaRequestModel
2024-02-09 16:30:12 +00:00
Markus Klenke
c7ac50a805
Defines technical Request Caller Object
2024-02-09 16:29:35 +00:00
Markus Klenke
f8cd7bc013
Adds model for Chat Requests to Ollama-API
2024-02-09 16:28:27 +00:00
Markus Klenke
3469bf314b
Removes unused Imports
2024-02-09 13:36:49 +00:00
Amith Koujalgi
60fe5d6ffb
Update APIs from ask
to generate
2024-02-01 20:08:01 +05:30
Amith Koujalgi
12f099260f
clean up
2024-01-04 09:58:53 +05:30
Amith Koujalgi
bb1c920e22
- updated askWithImageFiles
and askWithImageURLs
APIs to use Options
...
- updated jacoco version
2024-01-03 16:18:49 +05:30
Amith Koujalgi
85acf0fe78
added OptionsBuilder
and support for specifying extra params for ask
API
2024-01-02 23:18:17 +05:30
Amith Koujalgi
e2b29b6a07
added Prompt Builder
2023-12-31 01:33:59 +05:30
Amith Koujalgi
14d18d731f
Fixed javadoc
2023-12-30 14:17:36 +05:30
Amith Koujalgi
01c5a8f07f
updated readme
2023-12-30 12:23:42 +05:30
Amith Koujalgi
657593be09
Updated all APIs to use getRequestBuilderDefault()
method
2023-12-29 10:25:18 +05:30
Michael Wechner
7481c2ba0e
method introduced to get request builder default settings
2023-12-27 08:42:45 +01:00
Michael Wechner
9d336e257c
basic auth implemented for generate request
2023-12-26 20:49:54 +01:00
Amith Koujalgi
df5c451a12
updated docs
2023-12-26 20:15:43 +05:30
Amith Koujalgi
1fdd89f50f
clean up
2023-12-19 00:32:58 +05:30
Amith Koujalgi
ab89dfcefe
Added APIs to pass images and ask questions on it with LLaVA
model
2023-12-17 15:07:26 +05:30
Amith Koujalgi
251968e5e0
Added APIs to pass images and ask questions on it with LLaVA
model
2023-12-17 15:02:30 +05:30
Amith Koujalgi
e9ec19a62d
clean up
2023-12-17 11:56:55 +05:30
Amith Koujalgi
899b734abf
clean up
2023-12-17 11:44:13 +05:30
Amith Koujalgi
b6c1afff32
clean up
2023-12-17 11:44:04 +05:30
Amith Koujalgi
e2a88b06c5
Updated tests
2023-12-14 20:10:18 +05:30
Amith Koujalgi
74b03dcb87
Updated tests
2023-12-14 18:22:53 +05:30
Amith Koujalgi
a0d6a5ef97
Updated models with Lombok
2023-12-14 18:12:06 +05:30
Amith Koujalgi
1df8622b32
Fixes to listModels API
2023-12-14 17:55:17 +05:30
Amith Koujalgi
b2d76970dc
Added surefire and failsafe plugins
2023-12-14 17:41:23 +05:30
Amith Koujalgi
f6af7025a8
Merge remote-tracking branch 'origin/main'
2023-12-14 17:30:27 +05:30
Amith Koujalgi
afb8d21747
Added surefire and failsafe plugins
2023-12-14 17:30:14 +05:30
Amith Koujalgi
d52427fb68
Fixes to tests
2023-12-14 16:47:38 +05:30
Amith Koujalgi
4e4a5d2996
Fixes to ask API
2023-12-14 16:45:12 +05:30
Amith Koujalgi
f67f3b9eb5
updated readme
2023-12-14 16:40:15 +05:30
Amith Koujalgi
a5c6ba5558
Updated ask
and askAsync
responses to include responseTime
parameter
2023-11-16 00:50:56 +05:30
Amith Koujalgi
79f69c1620
Merge remote-tracking branch 'origin/main'
2023-11-16 00:49:12 +05:30
Amith Koujalgi
7579bbbc59
Updated ask
and askAsync
responses to include responseTime
parameter
2023-11-16 00:48:59 +05:30
Matthew MacLeod
04e942f1f9
Added a system
property to prevent Unrecognized field "system"
when calling OllamaApi.getModelDetails
2023-11-14 10:25:04 -05:00
Amith Koujalgi
dc2b73a72d
added test cases for more APIs
2023-11-13 12:15:06 +05:30
Amith Koujalgi
c5f3bb5d31
- updated non-primitives Long
and Boolean
to primitive types
2023-11-13 11:45:53 +05:30
Amith Koujalgi
7da4a7ffd4
- updated Java version to 11.
...
- replaced Apache HTTP client code with `Java.net.http.HttpClient`
2023-11-13 11:32:53 +05:30
Amith Koujalgi
d2f405dc64
- removed returning JSON string from toString methods of POJOs
...
- moved the code to get the `ObjectMapper` instance to `Utils` so that any changes to ObjectMapper could be handled at one place.
- removed duplicate ObjectMapper instantiation code
2023-11-13 00:47:47 +05:30
Richard Eckart de Castilho
e2a8be42e0
Issue #4 : evalCount in response from ollama cannot be parsed
...
- Change `eval_count` identify in Java code to more appropriate `evalCount`
- Change `evalCount` to `eval_count` in the JSON mapping
- Configure JSON mapping to ignore unknown fields to avoid errors in case ollama expands its response
2023-11-12 19:36:27 +01:00
Amith Koujalgi
df9b9af063
Updated askAsync
API to use OutputStream.write
instead of DataOutputStream.writeBytes
2023-11-12 23:53:36 +05:30