Skip to content

Commit

Permalink
use MessageTextInput
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi authored and ogabrielluiz committed Jun 24, 2024
1 parent 554aed4 commit a158082
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Any
from langflow.custom import Component
from langflow.inputs.inputs import DictInput, SecretStrInput, StrInput
from langflow.inputs.inputs import DictInput, SecretStrInput, StrInput, MessageTextInput
from langflow.template.field.base import Output


Expand All @@ -11,12 +11,12 @@ class AstraVectorize(Component):
icon = "AstraDB"

inputs = [
StrInput(
MessageTextInput(
name="provider",
display_name="Provider name",
info='The embedding provider to use.',
),
StrInput(
MessageTextInput(
name="model_name",
display_name="Model name",
info='The embedding model to use.',
Expand Down

0 comments on commit a158082

Please sign in to comment.