From c4f34766469537ff8a456c34b589ac50481471d1 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 22 Jun 2023 21:01:40 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=86=95=20feat(config.yaml,=20utils.ts):?= =?UTF-8?q?=20add=20support=20for=20SupabaseVectorStore=20in=20vectorstore?= =?UTF-8?q?s=20and=20add=20SupabaseIcon=20to=20nodeIcons=20The=20SupabaseV?= =?UTF-8?q?ectorStore=20is=20now=20supported=20in=20the=20vectorstores=20c?= =?UTF-8?q?onfiguration=20in=20the=20config.yaml=20file.=20The=20SupabaseI?= =?UTF-8?q?con=20has=20been=20added=20to=20the=20nodeIcons=20object=20in?= =?UTF-8?q?=20the=20utils.ts=20file=20to=20be=20able=20to=20display=20the?= =?UTF-8?q?=20icon=20for=20the=20SupabaseVectorStore.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/config.yaml | 1 + src/frontend/src/utils.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/backend/langflow/config.yaml b/src/backend/langflow/config.yaml index 8d1f69ad3..f3b5efaf3 100644 --- a/src/backend/langflow/config.yaml +++ b/src/backend/langflow/config.yaml @@ -132,6 +132,7 @@ vectorstores: - Weaviate - FAISS - Pinecone + - SupabaseVectorStore wrappers: - RequestsWrapper # - ChatPromptTemplate diff --git a/src/frontend/src/utils.ts b/src/frontend/src/utils.ts index e1d2f9176..d22245a31 100644 --- a/src/frontend/src/utils.ts +++ b/src/frontend/src/utils.ts @@ -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) { 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