feat(cohere): update settings configuration (#5682)
- Make API key field required - Move models from advanced settings Co-authored-by: Eric Hare <ericrhare@gmail.com>
This commit is contained in:
parent
518c5fe3fb
commit
a47dee3065
1 changed files with 2 additions and 2 deletions
|
|
@ -12,11 +12,11 @@ class CohereEmbeddingsComponent(LCModelComponent):
|
|||
name = "CohereEmbeddings"
|
||||
|
||||
inputs = [
|
||||
SecretStrInput(name="cohere_api_key", display_name="Cohere API Key"),
|
||||
SecretStrInput(name="cohere_api_key", display_name="Cohere API Key", required=True),
|
||||
DropdownInput(
|
||||
name="model",
|
||||
display_name="Model",
|
||||
advanced=True,
|
||||
advanced=False,
|
||||
options=[
|
||||
"embed-english-v2.0",
|
||||
"embed-multilingual-v2.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue