Skip to content

Commit

Permalink
Update icons for LLM components (#4120)
Browse files Browse the repository at this point in the history
Co-authored-by: Aitor Algorta <[email protected]>
  • Loading branch information
ljupcovangelski and AitorAlgorta authored Sep 11, 2023
1 parent 4cb61ff commit f5ffce3
Show file tree
Hide file tree
Showing 10 changed files with 350 additions and 2 deletions.
34 changes: 34 additions & 0 deletions frontend/control-center/src/components/ChannelAvatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ import {ReactComponent as IbmWatsonAssistantAvatar} from 'assets/images/icons/ib
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';
Expand Down Expand Up @@ -98,6 +105,33 @@ export const getChannelAvatar = (source: string) => {
case Source.feast:
case 'Feast':
return <FeastAvatar />;
case Source.faiss:
case 'FAISS':
return <MetaAvatar />;
case Source.faissConnector:
case 'FAISS connector':
return <MetaAvatar />;
case Source.llama2:
case 'LLama2':
return <MetaAvatar />;
case Source.openaiConnector:
case 'OpenAI connector':
return <OpenaiAvatar />;
case Source.pineconeConnector:
case 'Pinecone':
return <PineconeAvatar />;
case Source.chroma:
case 'Chroma':
return <ChromaAvatar />;
case Source.mosaic:
case 'Mosaic':
return <MosaicAvatar />;
case Source.weaviate:
case 'Weaviate':
return <WeaviateAvatar />;
case Source.gmail:
case 'GMail connector':
return <GmailAvatar />;

default:
return <AiryAvatar />;
Expand Down
44 changes: 44 additions & 0 deletions lib/typescript/assets/images/icons/chroma.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions lib/typescript/assets/images/icons/gmail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f5ffce3

Please sign in to comment.