Commit graph

3531 commits

Author SHA1 Message Date
Michael Yang
c4b9e84945 progress 2023-07-06 17:07:40 -07:00
Michael Yang
3d6009aae3 run prompts 2023-07-06 17:07:40 -07:00
Michael Yang
7d500692f2
Merge pull request #50 from jmorganca/go-prompts
fix prompt templates
2023-07-06 17:07:00 -07:00
Michael Yang
15c114decb fix prompt templates 2023-07-06 17:03:18 -07:00
Jeffrey Morgan
963c20254e quit sooner with single instance lock 2023-07-06 18:05:31 -04:00
Jeffrey Morgan
f93ffb9695 fix missing string crash 2023-07-06 18:02:43 -04:00
Bruce MacDonald
da74384a3e remove prompt cache 2023-07-06 17:49:05 -04:00
Jeffrey Morgan
45bf83ff58 default write key to empty 2023-07-06 17:46:40 -04:00
Jeffrey Morgan
b9a186c820 basic telemetry 2023-07-06 17:32:54 -04:00
Eva Ho
8681ba0ee2 clean up code 2023-07-06 17:03:14 -04:00
Eva Ho
6fbd96dab1 prevent more than one instance 2023-07-06 17:02:00 -04:00
Eva Ho
7c2bb76421 improve the first time installing experience 2023-07-06 17:02:00 -04:00
Jeffrey Morgan
9f528c12d7 update api documentation 2023-07-06 16:46:05 -04:00
Jeffrey Morgan
fdb93ef2aa fix dockerfile 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
97ab37095d fix spacing in README.md 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
40dc9310bc add advanced usage to readme 2023-07-06 16:34:44 -04:00
Michael Yang
0637632258 simple pull response 2023-07-06 16:34:44 -04:00
Michael Yang
dd960d1d5e update generate response 2023-07-06 16:34:44 -04:00
Michael Yang
2c80eddd71 more free 2023-07-06 16:34:44 -04:00
Bruce MacDonald
d436d51c78 clean up model pull 2023-07-06 16:34:44 -04:00
Bruce MacDonald
350aec772b clean up unessesary comments 2023-07-06 16:34:44 -04:00
Bruce MacDonald
c9f45abef3 resumable downloads 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
7ee75e19ec only check for updates if packaged 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
90d4ea9d71 move dock hide to on ready 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
c90d1d8c89 always use ollama binary 2023-07-06 16:34:44 -04:00
Eva Ho
9952c39319 remove electron-builder 2023-07-06 16:34:44 -04:00
Eva Ho
5a3bd59fd3 rebase into go 2023-07-06 16:34:44 -04:00
Eva Ho
bba1cc933d fix path for system tray 2023-07-06 16:34:44 -04:00
Eva Ho
ea9f0e7dbf removing icon and electron-builder 2023-07-06 16:34:44 -04:00
Eva Ho
703e10ca68 convert the desktop app to system tray 2023-07-06 16:34:44 -04:00
Michael Yang
9b8a456c7d embed templates 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
39f4d8edaa always use ollama binary 2023-07-06 16:34:44 -04:00
Bruce MacDonald
7cf5905063 display pull progress 2023-07-06 16:34:44 -04:00
Michael Yang
580fe8951c free llama model 2023-07-06 16:34:44 -04:00
Michael Yang
5079282120 tcp socket 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
3c3c09a523 set version at build time 2023-07-06 16:34:44 -04:00
Michael Yang
68e6b4550c use prompt templates 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
f805a65c42 add .metal file to the app build 2023-07-06 16:34:44 -04:00
Bruce MacDonald
a6494f8211 pull models 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
0833f5af3a tweak CLI install text 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
03eca6ea54 fix path to ollama 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
4f3cfea646 prompt to install the ollama cli on macOS 2023-07-06 16:34:44 -04:00
Bruce MacDonald
926ffa7f8c refactor cmd 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
4a36f374a2 update README.md build instructions 2023-07-06 16:34:44 -04:00
Bruce MacDonald
58f416aad8 Update models.json 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
879e996ca4 update app to use go binary 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
9fe018675f use Makefile for dependency building instead of go generate 2023-07-06 16:34:44 -04:00
Bruce MacDonald
e423421f03 Update models.json 2023-07-06 16:34:44 -04:00
Bruce MacDonald
2416a5ba6c Update models.json 2023-07-06 16:34:44 -04:00
Michael Yang
1b7183c5a1 enable metal gpu acceleration
ggml-metal.metal must be in the same directory as the ollama binary
otherwise llama.cpp will not be able to find it and load it.

1. go generate llama/llama_metal.go
2. go build .
3. ./ollama serve
2023-07-06 16:34:44 -04:00