add azure icon

This commit is contained in:
cristhianzl 2024-02-29 16:08:30 -03:00
commit 1eacfc4971
6 changed files with 74 additions and 81 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,8 @@
import React, { forwardRef } from "react";
import SvgAzure from "./Azure";
export const AzureIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <SvgAzure ref={ref} {...props} />;
}
);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 182 KiB

View file

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

View file

@ -128,7 +128,7 @@ import { FaApple, FaGithub, FaRobot } from "react-icons/fa";
import { AWSIcon } from "../icons/AWS"; import { AWSIcon } from "../icons/AWS";
import { AirbyteIcon } from "../icons/Airbyte"; import { AirbyteIcon } from "../icons/Airbyte";
import { AnthropicIcon } from "../icons/Anthropic"; import { AnthropicIcon } from "../icons/Anthropic";
import { AzureOpenAiEmbeddingsIcon } from "../icons/AzureOpenAiEmbeddings"; import { AzureIcon } from "../icons/Azure";
import { BingIcon } from "../icons/Bing"; import { BingIcon } from "../icons/Bing";
import { ChromaIcon } from "../icons/ChromaIcon"; import { ChromaIcon } from "../icons/ChromaIcon";
import { CohereIcon } from "../icons/Cohere"; import { CohereIcon } from "../icons/Cohere";
@ -256,15 +256,16 @@ export const nodeNames: { [char: string]: string } = {
}; };
export const nodeIconsLucide: iconsType = { export const nodeIconsLucide: iconsType = {
AzureChatOpenAi: AzureOpenAiEmbeddingsIcon, AzureChatOpenAi: AzureIcon,
Ollama: OllamaIcon, Ollama: OllamaIcon,
ChatOllama: OllamaIcon, ChatOllama: OllamaIcon,
AzureOpenAiEmbeddings: AzureOpenAiEmbeddingsIcon, AzureOpenAiEmbeddings: AzureIcon,
Azure: AzureIcon,
OllamaEmbeddings: OllamaIcon, OllamaEmbeddings: OllamaIcon,
ChatOllamaModel: OllamaIcon, ChatOllamaModel: OllamaIcon,
Faiss: MetaIcon, Faiss: MetaIcon,
FaissSearch: MetaIcon, FaissSearch: MetaIcon,
AzureOpenAiModel: AzureOpenAiEmbeddingsIcon, AzureOpenAiModel: AzureIcon,
Redis: RedisIcon, Redis: RedisIcon,
RedisSearch: RedisIcon, RedisSearch: RedisIcon,
PostgresChatMessageHistory: PostgresIcon, PostgresChatMessageHistory: PostgresIcon,