feat: add component clickhouse for vector database (#3657)

* fix: Problem in the description field when using the MariaDB or MySQL database.

* fix: Problem in the description field when using the MariaDB or MySQL database.

* fix: Add the migration script to update description columns type.

* [autofix.ci] apply automated fixes

* Update src/backend/base/langflow/alembic/versions/1d90f8a0efe1_update_description_columns_type.py

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* feat: add component clickhouse for vector database

* feat: add component clickhouse for vector database - conflicts resolved

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* feat: add component clickhouse for vector database - conflicts resolved

* feat: add component clickhouse for vector database - update poetry

* feat: add component clickhouse for vector database - conflicts resolved

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
Marcelo Nunes Alves 2024-09-04 09:33:30 -03:00 • committed by GitHub
commit d93c90760a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 671 additions and 7 deletions

View file

@ -0,0 +1,17 @@
const SvgClickhouseIcon = (props) => (
<svg
xmlns="http://www.w3.org/2000/svg"
height="2222"
viewBox="0 0 9 8"
width="2500"
{...props}
>
<path d="m0 7h1v1h-1z" fill="#f00" />
<path
d="m0 0h1v7h-1zm2 0h1v8h-1zm2 0h1v8h-1zm2 0h1v8h-1zm2 3.25h1v1.5h-1z"
fill="#fc0"
/>
</svg>
);
export default SvgClickhouseIcon;

View file

@ -0,0 +1 @@
<svg height="2222" viewBox="0 0 9 8" width="2500" xmlns="http://www.w3.org/2000/svg"><path d="m0 7h1v1h-1z" fill="#f00"/><path d="m0 0h1v7h-1zm2 0h1v8h-1zm2 0h1v8h-1zm2 0h1v8h-1zm2 3.25h1v1.5h-1z" fill="#fc0"/></svg>

After

Width:  |  Height:  |  Size: 216 B

View file

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

View file

@ -176,6 +176,7 @@ import { BingIcon } from "../icons/Bing";
import { BotMessageSquareIcon } from "../icons/BotMessageSquare";
import { CassandraIcon } from "../icons/Cassandra";
import { ChromaIcon } from "../icons/ChromaIcon";
import { ClickhouseIcon } from "../icons/Clickhouse";
import { CohereIcon } from "../icons/Cohere";
import { ComposioIcon } from "../icons/Composio";
import { ConfluenceIcon } from "../icons/Confluence";
@ -375,6 +376,7 @@ export const nodeIconsLucide: iconsType = {
Cassandra: CassandraIcon,
Chroma: ChromaIcon,
Couchbase: CouchbaseIcon,
Clickhouse: ClickhouseIcon,
AirbyteJSONLoader: AirbyteIcon,
AmazonBedrockEmbeddings: AWSIcon,
Amazon: AWSIcon,