Bruce MacDonald
75657e30e0
fix prompt spacing
2023-11-20 12:26:20 -05:00
Bruce MacDonald
72ce843921
Update images_test.go
2023-11-20 12:13:48 -05:00
Bruce MacDonald
1eff6853eb
error on unknown message role
2023-11-20 12:13:48 -05:00
Bruce MacDonald
6e6b3baa23
Update api.md
2023-11-20 12:13:48 -05:00
Bruce MacDonald
50ba1dcc7e
PR feedback
2023-11-20 12:13:48 -05:00
Bruce MacDonald
2d5d926ce0
clean up
2023-11-20 12:13:48 -05:00
Bruce MacDonald
8c044c8dd2
cli fixes
2023-11-20 12:13:48 -05:00
Bruce MacDonald
e03fbf558d
chat mode
...
- add messages as alternative to prompt/response format
- remove deprecated context and template generate parameters from docs
- context and template are still supported for the time being and will continue to work as expected
2023-11-20 12:13:48 -05:00
Bruce MacDonald
4718ecc62e
switch to role based messages
2023-11-20 12:13:48 -05:00
Bruce MacDonald
9c21d23a35
add messages to /generate api
...
- deprecate generation context, but continue to support it
- on first request generation context will still be returned
- if messages are specified context is not returned
- rebuild generation context from prompt/reply messages
- update generate docs with messages parameter
2023-11-20 12:13:13 -05:00
Jeffrey Morgan
6066c70edd
restore progress messages for older endpoints
2023-11-20 11:37:17 -05:00
Jeffrey Morgan
f10ac5de19
restore stats updated every second to progress bar
2023-11-20 10:58:19 -05:00
Jeffrey Morgan
93a108214c
only show decimal points for smaller file size numbers
2023-11-20 10:58:19 -05:00
Purinda Gunasekara
be61a81758
main-gpu argument is not getting passed to llamacpp, fixed. ( #1192 )
2023-11-20 10:52:52 -05:00
Toni Soriano
2fdf1b5ff8
add laravel package to README.md ( #1208 )
...
Co-authored-by: Toni <cloudstudio@Tonis-Mac-mini.local>
2023-11-20 10:48:35 -05:00
Huy Le
331068b964
Adding ogpt.nvim
into the list of plugins! ( #1190 )
...
* adding ollama.nvim for visibility
* adding an ogpt.nvim neovim plugin
2023-11-20 10:39:14 -05:00
Andy Brenneke
0179d8eb6b
Add Rivet to Community Integrations ( #1183 )
2023-11-20 10:36:47 -05:00
Eli Bendersky
be48741308
README: link to LangChainGo for talking to ollama, with an example ( #1206 )
2023-11-20 10:35:07 -05:00
Jeffrey Morgan
6bbd6e26fb
fix temporary newline created and removed with spinner in ollama run
2023-11-20 00:49:08 -05:00
Jeffrey Morgan
e6ad4813d3
dont crash when redirecting stderr
2023-11-19 23:50:45 -05:00
Jeffrey Morgan
13ba6df5ab
enable cpu instructions on intel macs
2023-11-19 23:20:26 -05:00
Jeffrey Morgan
9d73d3a6b5
add back part.Reset()
2023-11-19 14:32:19 -05:00
Jeffrey Morgan
72cd336410
dont retry on upload complete context cancel
2023-11-19 14:32:19 -05:00
Jeffrey Morgan
1bd594b2fa
revert to using one open file for blob uploads
2023-11-19 14:32:19 -05:00
Jeffrey Morgan
9a8c21ac3d
use exponential everywhere
2023-11-19 14:32:19 -05:00
Jeffrey Morgan
f6b317e8c9
fix sending too little data in chunk upload body
2023-11-19 14:32:19 -05:00
Jeffrey Morgan
ac5076ce1e
exponential backoff up to 30s
2023-11-19 14:32:19 -05:00
Michael Yang
42c2e3a624
upload: retry complete upload
2023-11-19 14:32:19 -05:00
Michael Yang
cb42589792
adjust download/upload parts
2023-11-19 14:32:19 -05:00
Jeffrey Morgan
258addc799
fix comment in progress.go
2023-11-19 13:46:19 -05:00
Jeffrey Morgan
c06b9b7304
update progress rendering to be closer to v0.1.10
2023-11-19 13:43:21 -05:00
Jeffrey Morgan
95b9acd324
improve pull percentage rendering
2023-11-19 11:00:43 -05:00
Jeffrey Morgan
04cbf5ccc0
progress bar styling improvements
2023-11-19 09:54:33 -05:00
Jeffrey Morgan
e1d7056496
update progress statuses
2023-11-19 09:21:13 -05:00
Jeffrey Morgan
02524a56ff
check retry for authorization error
2023-11-19 00:19:53 -05:00
Jeffrey Morgan
1657c6abc7
add note to specify JSON in the prompt when using JSON mode
2023-11-18 22:59:26 -05:00
Jeffrey Morgan
12e046f12a
remove unused function
2023-11-18 22:16:51 -05:00
Jeffrey Morgan
36a3bbf65f
Update llm/llama.go
2023-11-18 21:25:07 -05:00
Bruce MacDonald
43a726149d
fix potentially inaccurate error message
2023-11-18 21:25:07 -05:00
Jeffrey Morgan
984714f131
update status text when transfering blob on ollama create
2023-11-18 09:40:10 -05:00
Jeffrey Morgan
bab9494176
add -
separator to temp file created on ollama create
2023-11-18 09:39:52 -05:00
Jeffrey Morgan
85e4441c6a
cache docker builds
2023-11-18 08:51:38 -05:00
Michael Yang
42e43736a4
Merge pull request #1186 from jmorganca/mxyng/copy-blob
...
fix cross device rename
2023-11-17 21:54:53 -08:00
Michael Yang
c6e6c8ee7e
fix cross device rename
2023-11-17 15:22:17 -08:00
Jeffrey Morgan
a185b29719
fix install script error on linux
2023-11-17 18:00:41 -05:00
Michael Yang
dc84b20d6b
Merge pull request #1104 from jmorganca/mxyng/jupyter
...
add jupyter notebook example
2023-11-17 14:46:26 -08:00
Michael Yang
ad8659b980
Merge pull request #1161 from jmorganca/mxyng/systemd-placeholder
...
placeholder environment variables
2023-11-17 14:45:38 -08:00
Michael Yang
c1bbf5ddee
Merge pull request #1134 from jmorganca/mxyng/progress
...
progress bar
2023-11-17 14:03:35 -08:00
Bruce MacDonald
0b19e24d81
only retry once on auth failure ( #1175 )
2023-11-17 14:22:35 -05:00
Michael Yang
3cb07d2773
simplify StopAndClear
2023-11-17 10:26:22 -08:00