# CALM Tutorial with Mistral

**URL:** <https://forum.rasa.com/t/calm-tutorial-with-mistral/64816>\
**Category:** Rasa CALM\
**Created:** [December 11, 2024, 4:36pm UTC](https://forum.rasa.com/t/calm-tutorial-with-mistral/64816 "2024-12-11T16:36:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![thinkinnet](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@thinkinnet](https://forum.rasa.com/u/thinkinnet)\
**Post date:** [December 11, 2024, 4:36pm UTC](https://forum.rasa.com/t/calm-tutorial-with-mistral/64816/1 "2024-12-11T16:36:57Z")

</div>

Hi everyone,

We would like to test CALM using the tutorial within the github codespace. I asked this question already in this topic [Local llm error with enviromental variable OPENAI key](https://forum.rasa.com/t/local-llm-error-with-enviromental-variable-openai-key/63655) but it seems to get no attention. And therefor we will repeat it here.

What we are trying is just get some experience with CALM with our Mistral model. And we are trying to get the default tutorial running with this model ([Tutorial](https://rasa.com/docs/rasa-pro/tutorial))

First we got an error that says the command generator needs an `OPENAI_API_KEY` and after disabling the flow retrieval like in this post [Rasa Pro Tutorial with Azure OpenAI Service not working - #2 by emilymoore04](https://forum.rasa.com/t/rasa-pro-tutorial-with-azure-openai-service-not-working/61810/2) we can train successfully but when chatting with the bot, another tool asks for the OPENAI\_API\_KEY

Our config looks like this:

```auto
recipe: default.v1
language: en
pipeline:
  - name: SingleStepLLMCommandGenerator
    llm:
      provider: mistral
      model: mistral-large-latest
    flow_retrieval:
      active: false

policies:
  - name: FlowPolicy
# - name: EnterpriseSearchPolicy
# - name: RulePolicy

```

And our .env file looks like:

```auto
RASA_PRO_LICENSE='rasa_pro_license_key'
MISTRAL_API_KEY='mistral_api_key'

```

Thanks in advance for your help!

---

_[View the full topic](https://forum.rasa.com/t/calm-tutorial-with-mistral/64816)._
