-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
steps to reproduce
- run configure_models.py
- select same model for two roles
Getting
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: validating deployment to subscription:
Validation Error Details:
InvalidTemplate: Deployment template validation failed: 'The template variable 'roles' is not valid: The lambda expression parameter at index '1' of function 'toObject' returned a duplicate key 'openai-gpt-4'. Object keys must be strings that are case-insensitively unique. Please see https://aka.ms/arm-functions for usage details.. Please see https://aka.ms/arm-functions for usage details.'.
The mapping from model name to role forces model names to only have one function:
https://github.com/Azure-Samples/raft-distillation-recipe/blob/main/infra/azd/main.bicep#L62-L78
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels