Skip to content

Commit 1f90e97

Browse files
fix: change embeddings to embedding
1 parent c7967bf commit 1f90e97

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This Terraform provider allows you to manage LiteLLM resources through Infrastru
99
- Configure team members and their permissions
1010
- Set usage limits and budgets
1111
- Control access to specific models
12-
- Specify model modes (e.g., completion, embeddings, image generation)
12+
- Specify model modes (e.g., completion, embedding, image generation)
1313
- Manage API keys with fine-grained controls
1414

1515
## Requirements

docs/resources/model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The following arguments are supported:
4848

4949
* `mode` - (Optional) The intended use of the model. Valid values are:
5050
* `completion`
51-
* `embeddings`
51+
* `embedding`
5252
* `image_generation`
5353
* `moderation`
5454
* `audio_transcription`

litellm/resource_model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func resourceLiteLLMModel() *schema.Resource {
5656
Optional: true,
5757
ValidateFunc: validation.StringInSlice([]string{
5858
"completion",
59-
"embeddings",
59+
"embedding",
6060
"image_generation",
6161
"moderation",
6262
"audio_transcription",

0 commit comments

Comments
 (0)