MariTalk
Bundles contain custom components that support specific third-party integrations with Langflow.
This page describes the components that are available in the MariTalk bundle.
For more information, see the MariTalk documentation.
MariTalk text generation
The MariTalk component generates text using MariTalk LLMs.
It can output either a Model Response (Message
) or a Language Model (LanguageModel
).
Use the Language Model output when you want to use a MariTalk model as the LLM for another LLM-driven component, such as a Language Model or Smart Function component.
For more information, see Language Model components.
MariTalk text generation parameters
Many MariTalk component input parameters are hidden by default in the visual editor. You can toggle parameters through the Controls in the component's header menu.
Name | Type | Description |
---|---|---|
max_tokens | Integer | Input parameter. The maximum number of tokens to generate. Set to 0 for unlimited tokens. Default: 512 . |
model_name | String | Input parameter. The name of the MariTalk model to use. Options: sabia-2-small , sabia-2-medium . Default: sabia-2-small . |
api_key | SecretString | Input parameter. The MariTalk API Key to use for authentication. |
temperature | Float | Input parameter. Controls randomness in the output. Range: [0.0, 1.0] . Default: 0.5 . |
endpoint_url | String | Input parameter. The MariTalk API endpoint. Default: https://api.maritalk.com . |