5 Commits

Author SHA1 Message Date
Josh Kuhn
c13b019ee9 Fix README example 2021-01-04 22:01:26 -08:00
Josh Kuhn
6946acfd6c
Tweaks (#9)
- stop reason changed back to `length` from `max_tokens`
- Fixed the chatloop example
- Added `Clone` and `Debug` to all public types (if possible, `Error` couldn't because ureq & surf don't implement Clone for their `Error` types)
- Fix README to match the current library and not use `.unwrap`
2020-12-21 22:32:16 -08:00
Josh Kuhn
697acd0a0b
README cleanups (#4)
* README cleanups

* Add build status

* Add crate badge

* Dont run double tests on prs
2020-12-05 17:44:06 -08:00
Josh Kuhn
62193135c7
Cleanups before publishing (#2)
Several cleanups:
- Flesh out the README
- Make the interface a little easier to use
- Add some examples
- Add some (sparse) documentation for public components
- Mark the `FinishReason` and `Engine` enums as non-exhaustive so new members can be added in the future without breaking backwards compatibility
2020-12-05 16:43:15 -08:00
Josh Kuhn
dd10b363f0
Initial commit 2020-12-05 11:40:42 -08:00