Update dependencies and fix import paths (#2101)
* chore: Update dependencies and build frontend in Dockerfile * chore: Update lodash import and fix import paths * chore: Update Dockerfile to remove unnecessary frontend build step
This commit is contained in:
parent
78e656f4c0
commit
d929780183
5 changed files with 3 additions and 31 deletions
|
|
@ -47,7 +47,6 @@ WORKDIR /app
|
||||||
COPY pyproject.toml poetry.lock README.md ./
|
COPY pyproject.toml poetry.lock README.md ./
|
||||||
COPY src/ ./src
|
COPY src/ ./src
|
||||||
COPY scripts/ ./scripts
|
COPY scripts/ ./scripts
|
||||||
|
|
||||||
RUN python -m pip install requests --user && cd ./scripts && python update_dependencies.py
|
RUN python -m pip install requests --user && cd ./scripts && python update_dependencies.py
|
||||||
RUN $POETRY_HOME/bin/poetry lock --no-update \
|
RUN $POETRY_HOME/bin/poetry lock --no-update \
|
||||||
&& $POETRY_HOME/bin/poetry install --no-interaction --no-ansi -E deploy \
|
&& $POETRY_HOME/bin/poetry install --no-interaction --no-ansi -E deploy \
|
||||||
|
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
from .AstraDBSearch import AstraDBSearchComponent
|
|
||||||
from .ChromaSearch import ChromaSearchComponent
|
|
||||||
from .FAISSSearch import FAISSSearchComponent
|
|
||||||
from .MongoDBAtlasVectorSearch import MongoDBAtlasSearchComponent
|
|
||||||
from .PineconeSearch import PineconeSearchComponent
|
|
||||||
from .QdrantSearch import QdrantSearchComponent
|
|
||||||
from .RedisSearch import RedisSearchComponent
|
|
||||||
from .SupabaseVectorStoreSearch import SupabaseSearchComponent
|
|
||||||
from .VectaraSearch import VectaraSearchComponent
|
|
||||||
from .WeaviateSearch import WeaviateSearchVectorStore
|
|
||||||
from .pgvectorSearch import PGVectorSearchComponent
|
|
||||||
from .Couchbase import CouchbaseSearchComponent # type: ignore
|
|
||||||
|
|
||||||
__all__ = [
|
|
||||||
"AstraDBSearchComponent",
|
|
||||||
"ChromaSearchComponent",
|
|
||||||
"CouchbaseSearchComponent",
|
|
||||||
"FAISSSearchComponent",
|
|
||||||
"MongoDBAtlasSearchComponent",
|
|
||||||
"PineconeSearchComponent",
|
|
||||||
"QdrantSearchComponent",
|
|
||||||
"RedisSearchComponent",
|
|
||||||
"SupabaseSearchComponent",
|
|
||||||
"VectaraSearchComponent",
|
|
||||||
"WeaviateSearchVectorStore",
|
|
||||||
"PGVectorSearchComponent",
|
|
||||||
]
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { cloneDeep } from "lodash";
|
|
||||||
import emojiRegex from "emoji-regex";
|
import emojiRegex from "emoji-regex";
|
||||||
|
import { cloneDeep } from "lodash";
|
||||||
import { useCallback, useEffect, useMemo, useState } from "react";
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
||||||
import { NodeToolbar, useUpdateNodeInternals } from "reactflow";
|
import { NodeToolbar, useUpdateNodeInternals } from "reactflow";
|
||||||
import IconComponent from "../../components/genericIconComponent";
|
import IconComponent from "../../components/genericIconComponent";
|
||||||
|
|
|
||||||
|
|
@ -11,13 +11,13 @@ import ReactFlow, {
|
||||||
SelectionDragHandler,
|
SelectionDragHandler,
|
||||||
updateEdge,
|
updateEdge,
|
||||||
} from "reactflow";
|
} from "reactflow";
|
||||||
|
import GenericNode from "../../../../CustomNodes/GenericNode";
|
||||||
import {
|
import {
|
||||||
INVALID_SELECTION_ERROR_ALERT,
|
INVALID_SELECTION_ERROR_ALERT,
|
||||||
UPLOAD_ALERT_LIST,
|
UPLOAD_ALERT_LIST,
|
||||||
UPLOAD_ERROR_ALERT,
|
UPLOAD_ERROR_ALERT,
|
||||||
WRONG_FILE_ERROR_ALERT,
|
WRONG_FILE_ERROR_ALERT,
|
||||||
} from "../../../../constants/alerts_constants";
|
} from "../../../../constants/alerts_constants";
|
||||||
import GenericNode from "../../../../customNodes/genericNode";
|
|
||||||
import useAlertStore from "../../../../stores/alertStore";
|
import useAlertStore from "../../../../stores/alertStore";
|
||||||
import useFlowStore from "../../../../stores/flowStore";
|
import useFlowStore from "../../../../stores/flowStore";
|
||||||
import useFlowsManagerStore from "../../../../stores/flowsManagerStore";
|
import useFlowsManagerStore from "../../../../stores/flowsManagerStore";
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ import {
|
||||||
XYPosition,
|
XYPosition,
|
||||||
} from "reactflow";
|
} from "reactflow";
|
||||||
import ShortUniqueId from "short-unique-id";
|
import ShortUniqueId from "short-unique-id";
|
||||||
|
import getFieldTitle from "../CustomNodes/utils/get-field-title";
|
||||||
import {
|
import {
|
||||||
INPUT_TYPES,
|
INPUT_TYPES,
|
||||||
LANGFLOW_SUPPORTED_TYPES,
|
LANGFLOW_SUPPORTED_TYPES,
|
||||||
|
|
@ -16,7 +17,6 @@ import {
|
||||||
specialCharsRegex,
|
specialCharsRegex,
|
||||||
} from "../constants/constants";
|
} from "../constants/constants";
|
||||||
import { downloadFlowsFromDatabase } from "../controllers/API";
|
import { downloadFlowsFromDatabase } from "../controllers/API";
|
||||||
import getFieldTitle from "../customNodes/utils/get-field-title";
|
|
||||||
import { DESCRIPTIONS } from "../flow_constants";
|
import { DESCRIPTIONS } from "../flow_constants";
|
||||||
import {
|
import {
|
||||||
APIClassType,
|
APIClassType,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue