Rayan Mostovoi
8a8e7afa96
small fix on examples/python-simplechat/client.py to actually get a streamed response and get tokens printed as we receive it ( #4671 )
2 years ago
jmorganca
6042e8bc57
remove `bash-comparemodels` example
2 years ago
Mélony QIN
3f71ba406a
Correct the kubernetes terminology ( #3843 )
* add details on kubernetes deployment and separate the testing process
* Update examples/kubernetes/README.md
thanks for suggesting this change, I agree with you and let's make this project better together !
Co-authored-by: JonZeolla <Zeolla@gmail.com>
---------
Co-authored-by: QIN Mélony <MQN1@dsone.3ds.com>
Co-authored-by: JonZeolla <Zeolla@gmail.com>
2 years ago
Michael Yang
3f0ed03856
Update examples/flyio/README.md
Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>
2 years ago
alwqx
6707768ebd
chore: format go code ( #4149 )
2 years ago
Lord Basil - Automate EVERYTHING
c78bb76a12
update libraries for langchain_community + llama3 changed from llama2 ( #4174 )
2 years ago
Dr Nic Williams
e8aaea030e
Update 'llama2' -> 'llama3' in most places ( #4116 )
* Update 'llama2' -> 'llama3' in most places
---------
Co-authored-by: Patrick Devine <patrick@infrahq.com>
2 years ago
Eli Bendersky
ba460802c2
examples: add more Go examples using the API ( #3599 )
* examples: go-multimodal
* examples: add go-pull-progress
* examples: add go-chat
* fix
2 years ago
Michael Yang
2b4ca6cf36
fix ci
2 years ago
Eli Bendersky
4340f8eba4
examples: start adding Go examples using api/ ( #2879 )
We can have the same examples as e.g. https://github.com/ollama/ollama-python/tree/main/examples
here. Using consistent naming and renaming the existing example to have -http-
since it uses direct HTTP requests rather than api/
Updates #2840
2 years ago
Patrick Devine
1b272d5bcd
change `github.com/jmorganca/ollama` to `github.com/ollama/ollama` ( #3347 )
2 years ago
Michael Yang
6041abb5b2
remove empty examples
2 years ago
Yuan-Man
c6e8b00718
Add README.md ( #2249 )
3 years ago
Jeffrey Morgan
1c8435ffa9
Update domain name references in docs and install script ( #2435 )
3 years ago
Icelain
c5f21f73a4
follow best practices by adding resp.Body.Close() ( #1708 )
3 years ago
Matt Williams
5a85070c22
Update readmes, requirements, packagejsons, etc for all examples ( #1452 )
Most of the examples needed updates of Readmes to show how to run them. Some of the requirements.txt files had extra content that wasn't needed, or missing altogether. Apparently some folks like to run npm start
to run typescript, so a script was added to all typescript examples which
hadn't been done before.
Basically just a lot of cleanup.
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago
Matt Williams
d287013f24
Lets get rid of these old modelfile examples
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago
Matt Williams
02fe26c44b
update the readme as per bruce
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago
Matt Williams
fa75998c0d
Update examples/typescript-simplechat/readme.md
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
5344f886c8
Update examples/typescript-simplechat/client.ts
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
6cc823c9b5
Update examples/typescript-simplechat/client.ts
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
b84d34e632
Update examples/typescript-simplechat/readme.md
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
30229a913c
Update examples/typescript-simplechat/client.ts
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
1ade380bd7
Simple chat example for typescript
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago
Matt Williams
76bc4d0458
Cleanup as per Bruce
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago
Bruce MacDonald
4a02945a15
Update examples/python-simplechat/client.py
3 years ago
Matt Williams
aec742b6d2
Update examples/python-simplechat/readme.md
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
f337642e94
Update examples/python-simplechat/readme.md
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
51131cc6e2
Update examples/python-simplechat/client.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
43027789dc
Simple chat example
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago
Michael Yang
0409c1fa59
docker: set PATH, LD_LIBRARY_PATH, and capabilities ( #1336 )
* docker: set PATH, LD_LIBRARY_PATH, and capabilities
* example: update k8s gpu manifest
3 years ago
Matt Williams
5f7acd0bbd
remove 'recent'
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago
Matt Williams
0260be4414
remove 'recently'
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago
Matt Williams
48896f626c
Update examples/typescript-functioncalling/extractwp.ts
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
c57aee6fba
Update examples/typescript-functioncalling/readme.md
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Michael Yang
4936b5bb37
add jupyter readme
3 years ago
Michael Yang
f7f6d6c693
Update examples/jupyter-notebook/ollama.ipynb
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Michael Yang
a3053b66d2
add jupyter notebook example
3 years ago
Matt Williams
fefae84c06
example: function calling
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago
Michael
30ae6e731e
Update randomaddresses.py
3 years ago
Michael
b28a30f7ba
Update examples/python-json-datagenerator/predefinedschema.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
47ffb81db7
Update examples/python-json-datagenerator/readme.md
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
69795d2db0
Update examples/python-json-datagenerator/readme.md
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
acde0819d9
Update examples/python-json-datagenerator/randomaddresses.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
f748331aa3
Update examples/python-json-datagenerator/predefinedschema.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
f4edc302a8
Update examples/python-loganalysis/readme.md
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
64b7e0c218
Update examples/python-loganalysis/loganalysis.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
eced0d52ab
Update examples/python-loganalysis/loganalysis.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
96bf9cafa7
Update examples/python-loganalysis/loganalysis.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
3 years ago
Matt Williams
b6817a83d8
Add gif and finish readme
Signed-off-by: Matt Williams <m@technovangelist.com>
3 years ago