feat: add AssemblyAI components (#3829)

* Add AssemblyAI components

* add icons

* [autofix.ci] apply automated fixes

* Add ruff fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
Patrick Loeber 2024-09-25 19:32:03 +02:00 • committed by GitHub
commit c567323413
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 1416 additions and 2030 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,20 @@
const AssemblyAISVG = (props) => (
<svg
width="501"
height="434"
viewBox="0 0 501 434"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M221.202 0.944641C189.435 0.944641 160.93 20.4579 149.437 50.0725L0.462402 433.945H113.632L230.894 131.791H230.943C233.886 124.427 241.085 119.224 249.5 119.224C257.915 119.224 265.114 124.427 268.057 131.791H283.681V70.5011H254.679L281.673 0.944641H221.202Z"
fill="#213ED7"
/>
<path
d="M149.445 50.0726C160.471 21.6619 187.153 2.54782 217.352 1.04075L217.315 0.944641H279.722C311.489 0.944641 339.993 20.4579 351.486 50.0725L500.461 433.945H385.356L240.893 61.6995C232.622 43.4564 214.251 30.7668 192.917 30.7668C171.53 30.7668 153.122 43.5188 144.88 61.834L149.445 50.0726Z"
fill="#566DE8"
/>
</svg>
);
export default AssemblyAISVG;

View file

@ -0,0 +1,4 @@
<svg width="501" height="434" viewBox="0 0 501 434" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M221.202 0.944641C189.435 0.944641 160.93 20.4579 149.437 50.0725L0.462402 433.945H113.632L230.894 131.791H230.943C233.886 124.427 241.085 119.224 249.5 119.224C257.915 119.224 265.114 124.427 268.057 131.791H283.681V70.5011H254.679L281.673 0.944641H221.202Z" fill="#213ED7"/>
<path d="M149.445 50.0726C160.471 21.6619 187.153 2.54782 217.352 1.04075L217.315 0.944641H279.722C311.489 0.944641 339.993 20.4579 351.486 50.0725L500.461 433.945H385.356L240.893 61.6995C232.622 43.4564 214.251 30.7668 192.917 30.7668C171.53 30.7668 153.122 43.5188 144.88 61.834L149.445 50.0726Z" fill="#566DE8"/>
</svg>

After

Width:  |  Height:  |  Size: 709 B

View file

@ -0,0 +1,9 @@
import React, { forwardRef } from "react";
import AssemblyAISVG from "./AssemblyAI";
export const AssemblyAIIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <AssemblyAISVG ref={ref} {...props} />;
});

View file

@ -175,6 +175,7 @@ import { FaApple, FaDiscord, FaGithub } from "react-icons/fa";
import { AWSIcon } from "../icons/AWS";
import { AirbyteIcon } from "../icons/Airbyte";
import { AnthropicIcon } from "../icons/Anthropic";
import { AssemblyAIIcon } from "../icons/AssemblyAI";
import { AstraDBIcon } from "../icons/AstraDB";
import { AzureIcon } from "../icons/Azure";
import { BingIcon } from "../icons/Bing";
@ -389,6 +390,7 @@ export const nodeIconsLucide: iconsType = {
Amazon: AWSIcon,
Anthropic: AnthropicIcon,
ChatAnthropic: AnthropicIcon,
AssemblyAI: AssemblyAIIcon,
AstraDB: AstraDBIcon,
BingSearchAPIWrapper: BingIcon,
BingSearchRun: BingIcon,