ChatCompletion error when trying to use CALM with Azure OpenAi endpoint

Hi @Amina thanks for the fast answer. Using that config changed the error i get. Now i get the error that the deployment doesnt exist

- name: LLMCommandGenerator
  llm:
    engine: gpt-4-0613
    deployment_id: rasa
    request_timeout: 7
    max_tokens: 256
    embeddings:
      type: openai
      model: text-embedding-ada-002

(this is my current config)

thats my current config, my deployment is called “rasa” for engine i put gpt-4 and the modell i chose in Azure, for the model at embeddings i used one i found in forums, because there wasnt anything hinting to what that could be in my Azure Studio.

This is the error i get now

[error ] llm_command_generator.llm.error error=InvalidRequestError(message=‘The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.’, param=None, code=‘DeploymentNotFound’, http_status=404, request_id=None)