-
Notifications
You must be signed in to change notification settings - Fork 9.8k
feat: integrate helicone as a bundle and as an agent provider #10433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| title: Helicone | ||
| slug: /bundles-helicone | ||
| keywords: [helicone, heli, helic, helict, helico, lico, cone, icone, elic] | ||
| description: Helicone integration bundle for Langflow components, models, and routing. | ||
| --- | ||
|
|
||
| import Icon from "@site/src/components/icon"; | ||
| import PartialParams from '@site/docs/_partial-hidden-params.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 **Helicone** bundle. | ||
|
|
||
| For more information about Helicone features and functionality used by Helicone components, see the [Helicone documentation](https://docs.helicone.ai). | ||
|
|
||
| ## Helicone text generation | ||
|
|
||
| This component generates text using Helicone's AI routing and observability platform with unified access to multiple AI models from different providers. | ||
|
|
||
| It can output either a **Model Response** ([`Message`](/data-types#message)) or a **Language Model** ([`LanguageModel`](/data-types#languagemodel)). | ||
|
|
||
| Use the **Language Model** output when you want to use a Helicone model as the LLM for another LLM-driven component, such as an **Agent** or **Smart Function** component. | ||
|
|
||
| For more information, see [Language model components](/components-models). | ||
|
|
||
| ### Helicone text generation parameters | ||
|
|
||
| <PartialParams /> | ||
|
|
||
| | Name | Type | Description | | ||
| |------|------|-------------| | ||
| | api_key | SecretString | Input parameter. Your Helicone API key for authentication. | | ||
| | model_name | String | Input parameter. The specific model to use for chat completion. | | ||
| | temperature | Float | Input parameter. Controls randomness in the output. Range: [0.0, 2.0]. Default: 0.7. | | ||
| | max_tokens | Integer | Input parameter. The maximum number of tokens to generate. | |
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,82 @@ | ||||||||||||||
| const SvgHelicone = ({ isDark, ...props }) => ( | ||||||||||||||
| <svg | ||||||||||||||
| width="1000" | ||||||||||||||
| height="1000" | ||||||||||||||
| viewBox="0 0 1000 1000" | ||||||||||||||
| fill="none" | ||||||||||||||
| xmlns="http://www.w3.org/2000/svg" | ||||||||||||||
| {...props} | ||||||||||||||
| > | ||||||||||||||
| <path | ||||||||||||||
| d="M512.259 82.0808C503.242 78.136 492.988 78.136 483.971 82.0808L75.8928 260.615L403.33 403.869L498.115 445.337L807.242 310.094L920.337 260.615L512.259 82.0808Z" | ||||||||||||||
| fill={isDark ? "#F8FEFF" : "#F8FEFF"} | ||||||||||||||
|
||||||||||||||
| fill={isDark ? "#F8FEFF" : "#F8FEFF"} | |
| fill="#F8FEFF" |
Copilot
AI
Nov 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SVG attributes in JSX should use camelCase. Replace stroke-width with strokeWidth and stroke-linecap with strokeLinecap and stroke-linejoin with strokeLinejoin to follow React conventions.
| stroke-width="30.1587" | |
| stroke-linecap="round" | |
| stroke-linejoin="round" | |
| strokeWidth="30.1587" | |
| strokeLinecap="round" | |
| strokeLinejoin="round" |
Copilot
AI
Nov 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SVG attributes in JSX should use camelCase. Replace stroke-width with strokeWidth and stroke-linecap with strokeLinecap and stroke-linejoin with strokeLinejoin to follow React conventions.
| stroke-width="27.4344" | |
| stroke-linecap="round" | |
| stroke-linejoin="round" | |
| strokeWidth="27.4344" | |
| strokeLinecap="round" | |
| strokeLinejoin="round" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| import type React from "react"; | ||
| import { forwardRef } from "react"; | ||
| import SvgHelicone from "./HeliconeIcon"; | ||
|
|
||
| export const HeliconeIcon = forwardRef< | ||
| SVGSVGElement, | ||
| React.PropsWithChildren<{}> | ||
| >((props, ref) => { | ||
| return <SvgHelicone ref={ref} {...props} />; | ||
| }); |
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made this change to give users more detailed information about a model in a tooltip
it'll fallback to displaying the model id for most providers