From abd1ed1146a5e70c3cbd91bd760a06a22dcfebd3 Mon Sep 17 00:00:00 2001 From: ljupcovangelski Date: Fri, 8 Sep 2023 17:55:07 +0200 Subject: [PATCH] Add more icons --- .../src/components/ChannelAvatar/index.tsx | 27 +++ lib/typescript/assets/images/icons/chroma.svg | 44 +++++ lib/typescript/assets/images/icons/gmail.svg | 7 + lib/typescript/assets/images/icons/mosaic.svg | 44 +++++ lib/typescript/assets/images/icons/openai.svg | 2 + .../assets/images/icons/pinecone.svg | 162 ++++++++++++++++++ .../assets/images/icons/weaviate.svg | 44 +++++ lib/typescript/model/Source.ts | 7 + 8 files changed, 337 insertions(+) create mode 100644 lib/typescript/assets/images/icons/chroma.svg create mode 100644 lib/typescript/assets/images/icons/gmail.svg create mode 100644 lib/typescript/assets/images/icons/mosaic.svg create mode 100644 lib/typescript/assets/images/icons/openai.svg create mode 100644 lib/typescript/assets/images/icons/pinecone.svg create mode 100644 lib/typescript/assets/images/icons/weaviate.svg diff --git a/frontend/control-center/src/components/ChannelAvatar/index.tsx b/frontend/control-center/src/components/ChannelAvatar/index.tsx index 8b5fdef4d..31fafeb67 100644 --- a/frontend/control-center/src/components/ChannelAvatar/index.tsx +++ b/frontend/control-center/src/components/ChannelAvatar/index.tsx @@ -20,6 +20,12 @@ import {ReactComponent as RedisAvatar} from 'assets/images/icons/redisLogo.svg'; import {ReactComponent as PostgresAvatar} from 'assets/images/icons/postgresLogo.svg'; import {ReactComponent as FeastAvatar} from 'assets/images/icons/feastLogo.svg'; import {ReactComponent as MetaAvatar} from 'assets/images/icons/meta.svg'; +import {ReactComponent as OpenaiAvatar} from 'assets/images/icons/openai.svg'; +import {ReactComponent as PineconeAvatar} from 'assets/images/icons/pinecone.svg'; +import {ReactComponent as ChromaAvatar} from 'assets/images/icons/chroma.svg'; +import {ReactComponent as MosaicAvatar} from 'assets/images/icons/mosaic.svg'; +import {ReactComponent as WeaviateAvatar} from 'assets/images/icons/weaviate.svg'; +import {ReactComponent as GmailAvatar} from 'assets/images/icons/gmail.svg'; import {Channel, Source} from 'model'; import styles from './index.module.scss'; @@ -105,6 +111,27 @@ export const getChannelAvatar = (source: string) => { case Source.faissConnector: case 'FAISS connector': return ; + case Source.llama2: + case 'LLama2': + return ; + case Source.openaiConnector: + case 'OpenAI connector': + return ; + case Source.pineconeConnector: + case 'Pinecone': + return ; + case Source.chroma: + case 'Chroma': + return ; + case Source.mosaic: + case 'Mosaic': + return ; + case Source.weaviate: + case 'Weaviate': + return ; + case Source.gmail: + case 'GMail connector': + return ; default: return ; diff --git a/lib/typescript/assets/images/icons/chroma.svg b/lib/typescript/assets/images/icons/chroma.svg new file mode 100644 index 000000000..c35b980d0 --- /dev/null +++ b/lib/typescript/assets/images/icons/chroma.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/typescript/assets/images/icons/gmail.svg b/lib/typescript/assets/images/icons/gmail.svg new file mode 100644 index 000000000..40b7175c1 --- /dev/null +++ b/lib/typescript/assets/images/icons/gmail.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/lib/typescript/assets/images/icons/mosaic.svg b/lib/typescript/assets/images/icons/mosaic.svg new file mode 100644 index 000000000..0d1b99509 --- /dev/null +++ b/lib/typescript/assets/images/icons/mosaic.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/typescript/assets/images/icons/openai.svg b/lib/typescript/assets/images/icons/openai.svg new file mode 100644 index 000000000..3b4eff961 --- /dev/null +++ b/lib/typescript/assets/images/icons/openai.svg @@ -0,0 +1,2 @@ + +OpenAI icon \ No newline at end of file diff --git a/lib/typescript/assets/images/icons/pinecone.svg b/lib/typescript/assets/images/icons/pinecone.svg new file mode 100644 index 000000000..2b61be24e --- /dev/null +++ b/lib/typescript/assets/images/icons/pinecone.svg @@ -0,0 +1,162 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/typescript/assets/images/icons/weaviate.svg b/lib/typescript/assets/images/icons/weaviate.svg new file mode 100644 index 000000000..7eac0ba99 --- /dev/null +++ b/lib/typescript/assets/images/icons/weaviate.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/typescript/model/Source.ts b/lib/typescript/model/Source.ts index 9e5d5d719..1267a8407 100644 --- a/lib/typescript/model/Source.ts +++ b/lib/typescript/model/Source.ts @@ -24,6 +24,13 @@ export enum Source { feast = 'feast', faiss = 'faiss', faissConnector = 'faissConnector', + llama2 = "llama2", + openaiConnector = 'openaiConnector', + pineconeConnector = 'pineconeConnector', + chroma = 'chroma', + mosaic = 'mosaic', + weaviate = 'weaviate', + gmail = 'gmail', amazons3 = 'amazons3', amazonLexV2 = 'amazonLexV2', integrationSourceApi = 'integrationSourceApi',