11 Commits

Author SHA1 Message Date
Eli Bendersky 0e8d6dcea3 examples: move go.work creation to root (#378)
We only need a single go.work file in the reposotory, and `go work use -r .`
can recursively add all sub-modules to it, without requiring bash iteration.

Moves the creation of go.work into the root Makefile
go.work is still in .gitignore so it won't be committed

Fixes #375
2023-12-04 22:38:29 -08:00
Travis Cline 91f0639750 make: Update golangci-lint version in make helper 2023-12-04 22:38:29 -08:00
Cyril Peponnet 3fd51d9358 Adding ollama support (#327)
* Adding ollama support

* Address linting issues

* Disable default templating of model if any to avoid messing up custom prompts

* Added Ollama chatModel

* Adding ollama embeddings

* Added examples and fix the chat template for llama2

* examples: Fixup module names in ollama examples

* ollama: Small lint fix

---------

Co-authored-by: Travis Cline <travis.cline@gmail.com>
2023-12-04 22:38:28 -08:00
Murilo Santana c05a7dc5d5 ci: add ci step and makefile entry to ensure examples are healthy 2023-06-26 11:11:55 -03:00
Travis Cline d46959c414 chains: fix up nolint rule 2023-05-13 18:10:19 -07:00
Travis Cline 2e483c8564 prompts: Simplify prompts package 2023-04-24 14:28:03 -07:00
Travis Cline aa409b35b0 lint: Add separate more relaxed linting for exp tree
This is just local config for now.
2023-04-21 18:55:46 -07:00
Travis Cline c02f37a2f4 lint: Add stricter linting 2023-04-21 18:19:54 -07:00
Travis Cline 158c7c8b97 exp/prompts: move exp/prompts closer to acceptable state 2023-04-19 19:15:44 -07:00
Travis Cline 1556930b34 exp: Add several fixes 2023-04-18 14:24:25 -07:00
Travis Cline 0c64c65896 exp: Move recent contributions into exp subdir for now 2023-04-17 21:13:29 -07:00