garak.generators.mistral

class garak.generators.mistral.MistralGenerator(name='', config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)

Bases: Generator

Interface for public endpoints of models hosted in Mistral La Plateforme (console.mistral.ai). Expects API key in MISTRAL_API_TOKEN environment variable.

DEFAULT_PARAMS = {'context_len': None, 'max_tokens': 150, 'name': 'mistral-large-latest', 'skip_seq_end': None, 'skip_seq_start': None, 'temperature': None, 'top_k': None}
ENV_VAR = 'MISTRAL_API_KEY'
fullname = 'Mistral AI'
generator_family_name = 'mistral'
supports_multiple_generations = False