Update import statement in Cohere.py
This commit is contained in:
parent
46e2e69b57
commit
a24e0314bc
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
from langflow import CustomComponent
|
||||
from langchain.llms import BaseLanguageModel
|
||||
from langchain_core.language_models.base import BaseLanguageModel
|
||||
from typing import Optional
|
||||
|
||||
class CohereComponent(CustomComponent):
|
||||
|
|
@ -13,7 +13,7 @@ class CohereComponent(CustomComponent):
|
|||
"cohere_api_key": {
|
||||
"display_name": "Cohere API Key",
|
||||
"type": "password",
|
||||
"show": True
|
||||
"password": True
|
||||
},
|
||||
"max_tokens": {
|
||||
"display_name": "Max Tokens",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue