Back to Langflow

Novita

docs/versioned_docs/version-1.8.0/Components/bundles-novita.mdx

1.10.0.dev201.7 KB
Original Source

import Icon from "@site/src/components/icon"; import PartialParams from '@site/docs/_partial-hidden-params.mdx';

<Icon name="Blocks" aria-hidden="true" /> Bundles contain custom components that support specific third-party integrations with Langflow.

This page describes the components that are available in the Novita bundle.

Novita AI

This component generates text using Novita's language models.

It can output either a Model Response (Message) or a Language Model (LanguageModel).

Use the Language Model output when you want to use a Novita model as the LLM for another LLM-driven component, such as a Language Model or Smart Transform component.

For more information, see Language model components.

Novita AI parameters

<PartialParams />
NameTypeDescription
api_keySecretStringInput parameter. Your Novita AI API Key.
modelStringInput parameter. The id of the Novita AI model to use.
max_tokensIntegerInput parameter. The maximum number of tokens to generate. Set to 0 for unlimited tokens.
temperatureFloatInput parameter. Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.7.
top_pFloatInput parameter. Controls the nucleus sampling. Range: [0.0, 1.0]. Default: 1.0.
frequency_penaltyFloatInput parameter. Controls the frequency penalty. Range: [0.0, 2.0]. Default: 0.0.
presence_penaltyFloatInput parameter. Controls the presence penalty. Range: [0.0, 2.0]. Default: 0.0.