From 477925007a90966143bc6286ddd79b22f581772b Mon Sep 17 00:00:00 2001 From: CrowleyRajapakse Date: Mon, 30 Sep 2024 16:02:35 +0530 Subject: [PATCH] adding mistral ai provider default cr --- .../AIProviders/ai-provider-mistral-ai.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 helm-charts/templates/data-plane/gateway-components/AIProviders/ai-provider-mistral-ai.yaml diff --git a/helm-charts/templates/data-plane/gateway-components/AIProviders/ai-provider-mistral-ai.yaml b/helm-charts/templates/data-plane/gateway-components/AIProviders/ai-provider-mistral-ai.yaml new file mode 100644 index 000000000..f6a7f85f2 --- /dev/null +++ b/helm-charts/templates/data-plane/gateway-components/AIProviders/ai-provider-mistral-ai.yaml @@ -0,0 +1,23 @@ +apiVersion: dp.wso2.com/v1alpha3 +kind: AIProvider +metadata: + name: ai-provider-mistral-ai + namespace: {{ .Release.Namespace }} +spec: + providerName : "MistralAI" + providerAPIVersion : "v1" + organization : "default" + model: + in: "Body" + value: "model" + rateLimitFields: + promptTokens: + in: "Body" + value: "$usage.promptTokens" + completionToken: + in: "Body" + value: "$usage.completionTokens" + totalToken: + in: "Body" + value: "$usage.totalTokens" + \ No newline at end of file