Files
mistralai-client-rs/CONTRIBUTING.md
Ivan Gabriele 1deab88251 feat!: add missing api key error
BREAKING CHANGE: `APIError` is renamed to `ApiError`.
2024-03-04 04:30:13 +01:00

1.4 KiB

Contribute


Getting Started

Requirements

First setup

Important

If you're under Windows, you nust run all CLI commands under a Linux shell-like terminal (i.e.: WSL or Git Bash).

Then run:

git clone https://github.com/ivangabriele/mistralai-client-rs.git # or your fork
cd ./mistralai-client-rs
cargo build
cp .env.example .env

Then edit the .env file to set your MISTRAL_API_KEY.

Note

All tests use either the open-mistral-7b or mistral-embed models and only consume a few dozen tokens. So you would have to run them thousands of times to even reach a single dollar of usage.

Optional requirements

Test

make test

or

make test-watch

Code of Conduct

Help us keep this project open and inclusive. Please read and follow our Code of Conduct.

Commit Message Format

This repository follow the Conventional Commits specification.