# RASA CALM tutorial: issue with integrating API call step of tutorial

**URL:** <https://forum.rasa.com/t/rasa-calm-tutorial-issue-with-integrating-api-call-step-of-tutorial/66626>\
**Category:** Rasa CALM\
**Created:** [March 27, 2025, 7:34am UTC](https://forum.rasa.com/t/rasa-calm-tutorial-issue-with-integrating-api-call-step-of-tutorial/66626 "2025-03-27T07:34:15Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![LECARROU](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@LECARROU](https://forum.rasa.com/u/LECARROU)\
**Post date:** [March 28, 2025, 4:01pm UTC](https://forum.rasa.com/t/rasa-calm-tutorial-issue-with-integrating-api-call-step-of-tutorial/66626/6 "2025-03-28T16:01:56Z")

</div>

still not able to train may model (excpet if I set flow\_retrieval to False but I want ti use Entreprise search functionnalities)

Give Feedback / Get Help: [Sign in to GitHub · GitHub](https://github.com/BerriAI/litellm/issues/new) LiteLLM.Info: If you need to debug this error, use `litellm.set\_verbose=True’.

Provider List: [Providers | liteLLM](https://docs.litellm.ai/docs/providers)

Provider List: [Providers | liteLLM](https://docs.litellm.ai/docs/providers)

2025-03-28 17:00:44 ERROR rasa.dialogue\_understanding.generator.flow\_retrieval - [error] Failed to populate the FAISS store with the provided flows. error=ProviderClientAPIException(‘Failed to embed documents\nOriginal error: litellm.APIConnectionError: OllamaException - Connection error.)’) error\_type=ProviderClientAPIException event\_key=flow\_retrieval.populate\_vector\_store.not\_populated 2025-03-28 17:00:44 ERROR rasa.dialogue\_understanding.generator.llm\_based\_command\_generator - [error] Flow retrieval store is inaccessible. error=ProviderClientAPIException(‘Failed to embed documents\nOriginal error: litellm.APIConnectionError: OllamaException - Connection error.)’) event\_key=llm\_based\_command\_generator.train.failed 2025-03-28 17:00:44 ERROR rasa.engine.graph - [error] graph.node.error\_running\_component node\_name=train\_CompactLLMCommandGenerator0 2025-03-28 17:00:44 ERROR rasa. **main** - [error] ProviderClientAPIException: Failed to embed documents Original error: litellm.APIConnectionError: OllamaException - Connection error. event\_key=cli.exception.rasa\_exception

my current config, following rasa CALM docs and Rasa CAML forum

config.yml

recipe: default.v1 language: en pipeline:

- name: CompactLLMCommandGenerator llm: model\_group: ollama-gemma3-1b flow\_retrieval: embeddings: model\_group: text\_embedding\_model policies:
- name: RulePolicy # Remplace FlowPolicy si problème
- name: MemoizationPolicy assistant\_id: 20250328-161232-caramelized-continent

endpoints.yml

action\_endpoint: actions\_module: “actions”

model\_groups:

- id: ollama-gemma3-1b models:
- provider: ollama api\_base: “[http://localhost:11434](http://localhost:11434)” model: gemma3:1b
- id: text\_embedding\_model models:
- provider: ollama api\_base: “[http://localhost:11434](http://localhost:11434)” model: text-embedding-ada-002

---

_[View the full topic](https://forum.rasa.com/t/rasa-calm-tutorial-issue-with-integrating-api-call-step-of-tutorial/66626)._
