🆕 feat(config.yaml, utils.ts): add support for SupabaseVectorStore in vectorstores and add SupabaseIcon to nodeIcons

The SupabaseVectorStore is now supported in the vectorstores configuration in the config.yaml file. The SupabaseIcon has been added to the nodeIcons object in the utils.ts file to be able to display the icon for the SupabaseVectorStore.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-22 21:01:40 -03:00
commit c4f3476646
2 changed files with 3 additions and 0 deletions

View file

@ -132,6 +132,7 @@ vectorstores:
- Weaviate
- FAISS
- Pinecone
- SupabaseVectorStore
wrappers:
- RequestsWrapper
# - ChatPromptTemplate

View file

@ -43,6 +43,7 @@ import { PineconeIcon } from "./icons/Pinecone";
import clsx, { ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
import { ADJECTIVES, DESCRIPTIONS, NOUNS } from "./constants";
import { SupabaseIcon } from "./icons/supabase";
export function classNames(...classes: Array<string>) {
return classes.filter(Boolean).join(" ");
@ -172,6 +173,7 @@ export const nodeIcons: {
OpenAI: OpenAiIcon,
OpenAIEmbeddings: OpenAiIcon,
Pinecone: PineconeIcon,
SupabaseVectorStore: SupabaseIcon,
// UnstructuredPowerPointLoader: PowerPointIcon, // word and powerpoint have differente styles
Qdrant: QDrantIcon,
// ReadTheDocsLoader: ReadTheDocsIcon, // does not work