Ivan Gabriele
72bae8817a
docs: add client.chat*() documentation
2024-03-05 02:40:49 +01:00
Ivan Gabriele
08b042506d
test(coverage): migrate from tarpaulin to llvm-cov
2024-03-05 02:34:50 +01:00
Ivan Gabriele
efcd93953a
build(makefile): add --skip-clean option to test-cover command
2024-03-05 01:36:02 +01:00
Ivan Gabriele
ea99a075ef
build(makefile): remove wrong --nocapture option from test-doc command
2024-03-05 00:59:13 +01:00
Ivan Gabriele
ccf3d1431a
build(makefile): add doc command
2024-03-05 00:55:07 +01:00
Ivan Gabriele
a8bfb5333f
ci(github): add documentation tests
2024-03-05 00:50:21 +01:00
Ivan Gabriele
ef5d475e2d
fix!: fix failure when api key as param and not env
...
BREAKING CHANGE:
- Rename `ClientError.ApiKeyError` to `MissingApiKey`.
- Rename `ClientError.ReadResponseTextError` to `ClientError.UnreadableResponseText`.
2024-03-04 21:12:08 +01:00
Ivan Gabriele
5217fcfb94
ci(release): v0.6.0
v0.6.0
2024-03-04 08:20:46 +01:00
Ivan Gabriele
6b1cc5c058
docs(changelog): update
2024-03-04 08:20:38 +01:00
Ivan Gabriele
4a4219d3ea
feat!: add client.chat_stream() method
...
BREAKING CHANGE: You can't set the `stream` option for `client.chat*()`.
Either use `client.chat_stream()` if you want to use streams
or use `client.chat()` / `client.chat_async()` otherwise.
2024-03-04 08:16:10 +01:00
Ivan Gabriele
f91e794d71
refactor: remove useless error mappers
2024-03-04 06:54:24 +01:00
Ivan Gabriele
7c96a4a88d
ci(release): v0.5.0
v0.5.0
2024-03-04 06:39:54 +01:00
Ivan Gabriele
14437bf609
docs(changelog): update
2024-03-04 06:39:47 +01:00
Ivan Gabriele
3c228914f7
feat: add client.embeddings_async() method
2024-03-04 06:39:21 +01:00
Ivan Gabriele
b69f7c617c
feat: add client.list_models_async() method
2024-03-04 06:33:38 +01:00
Ivan Gabriele
75788b9395
refactor: migrate to reqwest-only
2024-03-04 06:33:38 +01:00
renovate[bot]
a862b92c98
chore(deps): update codecov/codecov-action action to v4 ( #2 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 05:04:56 +01:00
Ivan Gabriele
47c9b9b4fe
ci(release): v0.4.0
v0.4.0
2024-03-04 04:58:33 +01:00
Ivan Gabriele
791bef34b3
docs(changelog): update
2024-03-04 04:58:26 +01:00
Ivan Gabriele
1dd59f6704
feat: add client.chat_async() method
2024-03-04 04:57:48 +01:00
Ivan Gabriele
33876183e4
feat!: wrap Client::new() return in a Result
...
BREAKING CHANGE: `Client::new()` now returns a `Result`.
2024-03-04 04:43:22 +01:00
Ivan Gabriele
1deab88251
feat!: add missing api key error
...
BREAKING CHANGE: `APIError` is renamed to `ApiError`.
2024-03-04 04:30:13 +01:00
Ivan Gabriele
b0a3f10c9f
ci(release): add custom pre-release-commit-message
2024-03-04 03:32:23 +01:00
Ivan Gabriele
bbba6b9878
docs(readme): fix list models example
2024-03-04 03:27:20 +01:00
Ivan Gabriele
0386b95b7b
chore: Release mistralai-client version 0.3.0
v0.3.0
2024-03-04 03:25:41 +01:00
Ivan Gabriele
c61f2278bb
docs(changelog): update
2024-03-04 03:25:35 +01:00
Ivan Gabriele
4c8e330c95
ci(release): fix pre-release-replacements regex
2024-03-04 03:25:20 +01:00
Ivan Gabriele
64c7f2feb5
ci(release): fix type in pre-release-replacements prop
2024-03-04 03:21:13 +01:00
Ivan Gabriele
f44d951247
feat!: add client.embeddings() method
...
BREAKING CHANGE: Models are now enforced by `Model` & `EmbedModel` enums.
2024-03-04 03:16:59 +01:00
Ivan Gabriele
4e702aa48e
refactor: rename ListModels* to ModelList*
2024-03-04 01:56:48 +01:00
Ivan Gabriele
809af31dd0
ci(release): fix changelog version replacement
2024-03-03 19:49:27 +01:00
Ivan Gabriele
7016cffb05
chore: Release mistralai-client version 0.2.0
v0.2.0
2024-03-03 19:45:03 +01:00
Ivan Gabriele
43cf87529e
docs(changelog): update
2024-03-03 19:44:54 +01:00
Ivan Gabriele
7627a336cc
ci(release): add missing --execute option in Makefile definition
2024-03-03 19:44:43 +01:00
Ivan Gabriele
4983f69cd5
docs(changelog): update
2024-03-03 19:43:13 +01:00
Ivan Gabriele
814b9918b3
feat: add client.list_models() method
2024-03-03 19:42:00 +01:00
Ivan Gabriele
7de2b19b98
feat!: simplify chat completion call
...
BREAKING CHANGE: Chat completions must now be called directly from client.chat() without building a request in between.
2024-03-03 19:14:01 +01:00
Ivan Gabriele
8cb2c3cd0c
ci(release): setup
2024-03-03 19:03:06 +01:00
Ivan Gabriele
7b440cd7e9
ci(release): v0.1.0
v0.1.0
2024-03-03 15:49:06 +01:00
Ivan Gabriele
fc2dcdeb53
docs(cargo): add publication props
2024-03-03 15:41:57 +01:00
Ivan Gabriele
4c65873adb
docs(readme): update badges
2024-03-03 15:35:57 +01:00
Ivan Gabriele
b30e88c5f7
ci(github): add missing MISTRAL_API_KEY env
2024-03-03 15:29:17 +01:00
Ivan Gabriele
7d3b438d16
feat: add chat completion without streaming
2024-03-03 15:20:30 +01:00