mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-23 17:58:35 +08:00
docs: graduated bundles and partial
This commit is contained in:
@ -5,11 +5,14 @@ slug: /bundles-anthropic
|
||||
|
||||
import Icon from "@site/src/components/icon";
|
||||
import PartialParams from '@site/docs/_partial-hidden-params.mdx';
|
||||
import { GraduatedBundleInstall } from '@site/docs/_partial-bundle-graduated-install.mdx';
|
||||
|
||||
<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.
|
||||
|
||||
This page describes the components that are available in the **Anthropic** bundle.
|
||||
|
||||
<GraduatedBundleInstall packageName="lfx-anthropic" providerName="Anthropic" />
|
||||
|
||||
For more information about Anthropic features and functionality used by Anthropic components, see the [Anthropic documentation](https://docs.anthropic.com/en/docs/intro).
|
||||
|
||||
## Anthropic text generation
|
||||
|
||||
@ -5,11 +5,14 @@ slug: /bundles-cohere
|
||||
|
||||
import Icon from "@site/src/components/icon";
|
||||
import PartialParams from '@site/docs/_partial-hidden-params.mdx';
|
||||
import { GraduatedBundleInstall } from '@site/docs/_partial-bundle-graduated-install.mdx';
|
||||
|
||||
<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.
|
||||
|
||||
This page describes the components that are available in the **Cohere** bundle.
|
||||
|
||||
<GraduatedBundleInstall packageName="lfx-cohere" providerName="Cohere" />
|
||||
|
||||
For more information about Cohere features and functionality used by Cohere components, see the [Cohere documentation](https://cohere.ai/).
|
||||
|
||||
## Cohere text generation
|
||||
|
||||
@ -8,11 +8,14 @@ import PartialParams from '@site/docs/_partial-hidden-params.mdx';
|
||||
import PartialConditionalParams from '@site/docs/_partial-conditional-params.mdx';
|
||||
import PartialVectorSearchResults from '@site/docs/_partial-vector-search-results.mdx';
|
||||
import PartialVectorStoreInstance from '@site/docs/_partial-vector-store-instance.mdx';
|
||||
import { GraduatedBundleInstall } from '@site/docs/_partial-bundle-graduated-install.mdx';
|
||||
|
||||
<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.
|
||||
|
||||
This page describes the components that are available in the **DataStax** bundle, including components that read and write to Astra DB databases.
|
||||
|
||||
<GraduatedBundleInstall packageName="lfx-datastax" providerName="DataStax" />
|
||||
|
||||
## Astra DB
|
||||
|
||||
:::warning
|
||||
|
||||
@ -5,11 +5,14 @@ slug: /bundles-openai
|
||||
|
||||
import Icon from "@site/src/components/icon";
|
||||
import PartialParams from '@site/docs/_partial-hidden-params.mdx';
|
||||
import { GraduatedBundleInstall } from '@site/docs/_partial-bundle-graduated-install.mdx';
|
||||
|
||||
<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.
|
||||
|
||||
This page describes the components that are available in the **OpenAI** bundle.
|
||||
|
||||
<GraduatedBundleInstall packageName="lfx-openai" providerName="OpenAI" />
|
||||
|
||||
For more information about OpenAI features and functionality used by OpenAI components, see the [OpenAI documentation](https://platform.openai.com/docs/overview).
|
||||
|
||||
## OpenAI text generation
|
||||
|
||||
22
docs/docs/_partial-bundle-graduated-install.mdx
Normal file
22
docs/docs/_partial-bundle-graduated-install.mdx
Normal file
@ -0,0 +1,22 @@
|
||||
import Admonition from '@theme/Admonition';
|
||||
|
||||
export const GraduatedBundleInstall = ({packageName}) => {
|
||||
const providerNames = {
|
||||
'lfx-openai': 'OpenAI',
|
||||
'lfx-anthropic': 'Anthropic',
|
||||
'lfx-amazon': 'Amazon',
|
||||
'lfx-datastax': 'DataStax',
|
||||
'lfx-cohere': 'Cohere',
|
||||
};
|
||||
const providerName = providerNames[packageName] ?? packageName;
|
||||
return (
|
||||
<Admonition type="note" title="Bundle installation required">
|
||||
<p>The <strong>{providerName}</strong> bundle is a standalone partner package and is <strong>not</strong> included in a standard <code>uv pip install langflow</code> installation.</p>
|
||||
<p>To install it, run:</p>
|
||||
<pre><code>uv pip install {packageName}</code></pre>
|
||||
<p>After installation, restart Langflow. To confirm the bundle loaded, run:</p>
|
||||
<pre><code>lfx extension list</code></pre>
|
||||
<p>For more information, see <a href="/get-started-installation#bundle-install">Install Langflow bundle components</a>.</p>
|
||||
</Admonition>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user