├── api ├── events │ ├── __init__.py │ ├── dataset_event.py │ ├── document_event.py │ ├── message_event.py │ ├── event_handlers │ │ └── document_index_event.py │ └── tenant_event.py ├── fields │ ├── __init__.py │ └── tag_fields.py ├── libs │ ├── __init__.py │ └── infinite_scroll_pagination.py ├── tasks │ └── __init__.py ├── tests │ ├── __init__.py │ ├── unit_tests │ │ ├── __init__.py │ │ ├── core │ │ │ ├── __init__.py │ │ │ ├── rag │ │ │ │ ├── __init__.py │ │ │ │ ├── datasource │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── vdb │ │ │ │ │ │ └── __init__.py │ │ │ │ └── extractor │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── firecrawl │ │ │ │ │ └── __init__.py │ │ │ ├── helper │ │ │ │ └── __init__.py │ │ │ ├── prompt │ │ │ │ └── __init__.py │ │ │ ├── workflow │ │ │ │ ├── __init__.py │ │ │ │ ├── nodes │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── answer │ │ │ │ │ │ └── __init__.py │ │ │ │ │ └── iteration │ │ │ │ │ │ └── __init__.py │ │ │ │ └── graph_engine │ │ │ │ │ └── __init__.py │ │ │ └── model_runtime │ │ │ │ ├── __init__.py │ │ │ │ └── model_providers │ │ │ │ ├── __init__.py │ │ │ │ └── wenxin │ │ │ │ └── __init__.py │ │ ├── oss │ │ │ ├── __init__.py │ │ │ ├── __mock │ │ │ │ └── __init__.py │ │ │ ├── opendal │ │ │ │ └── __init__.py │ │ │ ├── tencent_cos │ │ │ │ └── __init__.py │ │ │ ├── volcengine_tos │ │ │ │ └── __init__.py │ │ │ └── aliyun_oss │ │ │ │ └── aliyun_oss │ │ │ │ └── __init__.py │ │ ├── utils │ │ │ ├── __init__.py │ │ │ └── yaml │ │ │ │ └── __init__.py │ │ ├── .gitignore │ │ └── services │ │ │ ├── __init__.py │ │ │ └── workflow │ │ │ └── __init__.py │ ├── integration_tests │ │ ├── __init__.py │ │ ├── vdb │ │ │ ├── __init__.py │ │ │ ├── __mock │ │ │ │ └── __init__.py │ │ │ ├── baidu │ │ │ │ └── __init__.py │ │ │ ├── chroma │ │ │ │ └── __init__.py │ │ │ ├── couchbase │ │ │ │ └── __init__.py │ │ │ ├── lindorm │ │ │ │ └── __init__.py │ │ │ ├── milvus │ │ │ │ └── __init__.py │ │ │ ├── myscale │ │ │ │ └── __init__.py │ │ │ ├── oceanbase │ │ │ │ └── __init__.py │ │ │ ├── oracle │ │ │ │ └── __init__.py │ │ │ ├── pgvector │ │ │ │ └── __init__.py │ │ │ ├── qdrant │ │ │ │ └── __init__.py │ │ │ ├── upstash │ │ │ │ └── __init__.py │ │ │ ├── vikingdb │ │ │ │ └── __init__.py │ │ │ ├── weaviate │ │ │ │ └── __init__.py │ │ │ ├── analyticdb │ │ │ │ └── __init__.py │ │ │ ├── elasticsearch │ │ │ │ └── __init__.py │ │ │ ├── opensearch │ │ │ │ └── __init__.py │ │ │ ├── pgvecto_rs │ │ │ │ └── __init__.py │ │ │ ├── tcvectordb │ │ │ │ └── __init__.py │ │ │ └── tidb_vector │ │ │ │ └── __init__.py │ │ ├── .gitignore │ │ ├── tools │ │ │ ├── __init__.py │ │ │ ├── code │ │ │ │ └── __init__.py │ │ │ └── api_tool │ │ │ │ └── __init__.py │ │ ├── workflow │ │ │ ├── __init__.py │ │ │ └── nodes │ │ │ │ ├── __init__.py │ │ │ │ └── code_executor │ │ │ │ └── __init__.py │ │ ├── model_runtime │ │ │ ├── __init__.py │ │ │ ├── jina │ │ │ │ └── __init__.py │ │ │ ├── oci │ │ │ │ └── __init__.py │ │ │ ├── x │ │ │ │ └── __init__.py │ │ │ ├── anthropic │ │ │ │ └── __init__.py │ │ │ ├── baichuan │ │ │ │ └── __init__.py │ │ │ ├── bedrock │ │ │ │ └── __init__.py │ │ │ ├── chatglm │ │ │ │ └── __init__.py │ │ │ ├── cohere │ │ │ │ └── __init__.py │ │ │ ├── fireworks │ │ │ │ └── __init__.py │ │ │ ├── fishaudio │ │ │ │ └── __init__.py │ │ │ ├── gitee_ai │ │ │ │ └── __init__.py │ │ │ ├── google │ │ │ │ └── __init__.py │ │ │ ├── gpustack │ │ │ │ └── __init__.py │ │ │ ├── hunyuan │ │ │ │ └── __init__.py │ │ │ ├── localai │ │ │ │ ├── __init__.py │ │ │ │ └── test_embedding.py │ │ │ ├── minimax │ │ │ │ └── __init__.py │ │ │ ├── nomic │ │ │ │ └── __init__.py │ │ │ ├── novita │ │ │ │ └── __init__.py │ │ │ ├── ollama │ │ │ │ └── __init__.py │ │ │ ├── openai │ │ │ │ └── __init__.py │ │ │ ├── openllm │ │ │ │ └── __init__.py │ │ │ ├── replicate │ │ │ │ └── __init__.py │ │ │ ├── sagemaker │ │ │ │ └── __init__.py │ │ │ ├── spark │ │ │ │ └── __init__.py │ │ │ ├── stepfun │ │ │ │ └── __init__.py │ │ │ ├── tongyi │ │ │ │ └── __init__.py │ │ │ ├── upstage │ │ │ │ └── __init__.py │ │ │ ├── vessl_ai │ │ │ │ └── __init__.py │ │ │ ├── voyage │ │ │ │ └── __init__.py │ │ │ ├── wenxin │ │ │ │ └── __init__.py │ │ │ ├── zhinao │ │ │ │ └── __init__.py │ │ │ ├── zhipuai │ │ │ │ └── __init__.py │ │ │ ├── azure_openai │ │ │ │ └── __init__.py │ │ │ ├── mixedbread │ │ │ │ └── __init__.py │ │ │ ├── openrouter │ │ │ │ └── __init__.py │ │ │ ├── siliconflow │ │ │ │ └── __init__.py │ │ │ ├── togetherai │ │ │ │ └── __init__.py │ │ │ ├── xinference │ │ │ │ └── __init__.py │ │ │ ├── azure_ai_studio │ │ │ │ └── __init__.py │ │ │ ├── huggingface_hub │ │ │ │ └── __init__.py │ │ │ ├── huggingface_tei │ │ │ │ └── __init__.py │ │ │ ├── volcengine_maas │ │ │ │ └── __init__.py │ │ │ ├── openai_api_compatible │ │ │ │ └── __init__.py │ │ │ └── assets │ │ │ │ └── audio.mp3 │ │ └── utils │ │ │ └── parent_class.py │ └── artifact_tests │ │ └── dependencies │ │ └── __init__.py ├── core │ ├── agent │ │ └── __init__.py │ ├── app │ │ ├── __init__.py │ │ ├── apps │ │ │ ├── __init__.py │ │ │ ├── chat │ │ │ │ └── __init__.py │ │ │ ├── workflow │ │ │ │ └── __init__.py │ │ │ ├── advanced_chat │ │ │ │ └── __init__.py │ │ │ ├── agent_chat │ │ │ │ └── __init__.py │ │ │ └── completion │ │ │ │ └── __init__.py │ │ ├── entities │ │ │ └── __init__.py │ │ ├── features │ │ │ ├── __init__.py │ │ │ ├── annotation_reply │ │ │ │ └── __init__.py │ │ │ ├── hosting_moderation │ │ │ │ └── __init__.py │ │ │ └── rate_limiting │ │ │ │ └── __init__.py │ │ ├── app_config │ │ │ ├── __init__.py │ │ │ ├── common │ │ │ │ ├── __init__.py │ │ │ │ └── sensitive_word_avoidance │ │ │ │ │ └── __init__.py │ │ │ ├── features │ │ │ │ ├── __init__.py │ │ │ │ ├── file_upload │ │ │ │ │ └── __init__.py │ │ │ │ ├── more_like_this │ │ │ │ │ └── __init__.py │ │ │ │ ├── opening_statement │ │ │ │ │ └── __init__.py │ │ │ │ ├── retrieval_resource │ │ │ │ │ └── __init__.py │ │ │ │ ├── speech_to_text │ │ │ │ │ └── __init__.py │ │ │ │ ├── text_to_speech │ │ │ │ │ └── __init__.py │ │ │ │ └── suggested_questions_after_answer │ │ │ │ │ └── __init__.py │ │ │ ├── easy_ui_based_app │ │ │ │ ├── __init__.py │ │ │ │ ├── agent │ │ │ │ │ └── __init__.py │ │ │ │ ├── dataset │ │ │ │ │ └── __init__.py │ │ │ │ ├── variables │ │ │ │ │ └── __init__.py │ │ │ │ ├── model_config │ │ │ │ │ └── __init__.py │ │ │ │ └── prompt_template │ │ │ │ │ └── __init__.py │ │ │ └── workflow_ui_based_app │ │ │ │ ├── __init__.py │ │ │ │ └── variables │ │ │ │ └── __init__.py │ │ └── task_pipeline │ │ │ └── __init__.py │ ├── errors │ │ └── __init__.py │ ├── helper │ │ ├── __init__.py │ │ └── code_executor │ │ │ ├── jinja2 │ │ │ └── __init__.py │ │ │ ├── javascript │ │ │ └── __init__.py │ │ │ ├── python3 │ │ │ └── __init__.py │ │ │ └── __init__.py │ ├── ops │ │ ├── __init__.py │ │ ├── entities │ │ │ └── __init__.py │ │ ├── opik_trace │ │ │ └── __init__.py │ │ ├── langfuse_trace │ │ │ ├── __init__.py │ │ │ └── entities │ │ │ │ └── __init__.py │ │ └── langsmith_trace │ │ │ ├── __init__.py │ │ │ └── entities │ │ │ └── __init__.py │ ├── prompt │ │ ├── __init__.py │ │ ├── utils │ │ │ └── __init__.py │ │ ├── entities │ │ │ └── __init__.py │ │ └── prompt_templates │ │ │ └── __init__.py │ ├── rag │ │ ├── __init__.py │ │ ├── docstore │ │ │ └── __init__.py │ │ ├── models │ │ │ └── __init__.py │ │ ├── rerank │ │ │ ├── __init__.py │ │ │ └── rerank_type.py │ │ ├── splitter │ │ │ └── __init__.py │ │ ├── datasource │ │ │ ├── __init__.py │ │ │ ├── keyword │ │ │ │ ├── __init__.py │ │ │ │ ├── jieba │ │ │ │ │ └── __init__.py │ │ │ │ └── keyword_type.py │ │ │ └── vdb │ │ │ │ ├── __init__.py │ │ │ │ ├── baidu │ │ │ │ └── __init__.py │ │ │ │ ├── chroma │ │ │ │ └── __init__.py │ │ │ │ ├── lindorm │ │ │ │ └── __init__.py │ │ │ │ ├── milvus │ │ │ │ └── __init__.py │ │ │ │ ├── myscale │ │ │ │ └── __init__.py │ │ │ │ ├── oracle │ │ │ │ └── __init__.py │ │ │ │ ├── pgvector │ │ │ │ └── __init__.py │ │ │ │ ├── qdrant │ │ │ │ └── __init__.py │ │ │ │ ├── relyt │ │ │ │ └── __init__.py │ │ │ │ ├── tencent │ │ │ │ └── __init__.py │ │ │ │ ├── upstash │ │ │ │ └── __init__.py │ │ │ │ ├── vikingdb │ │ │ │ └── __init__.py │ │ │ │ ├── weaviate │ │ │ │ └── __init__.py │ │ │ │ ├── analyticdb │ │ │ │ └── __init__.py │ │ │ │ ├── couchbase │ │ │ │ └── __init__.py │ │ │ │ ├── elasticsearch │ │ │ │ └── __init__.py │ │ │ │ ├── oceanbase │ │ │ │ └── __init__.py │ │ │ │ ├── opensearch │ │ │ │ └── __init__.py │ │ │ │ ├── pgvecto_rs │ │ │ │ └── __init__.py │ │ │ │ ├── tidb_vector │ │ │ │ └── __init__.py │ │ │ │ └── tidb_on_qdrant │ │ │ │ └── __init__.py │ │ ├── embedding │ │ │ └── __init__.py │ │ ├── retrieval │ │ │ ├── __init__.py │ │ │ └── output_parser │ │ │ │ └── __init__.py │ │ ├── index_processor │ │ │ ├── __init__.py │ │ │ ├── constant │ │ │ │ ├── __init__.py │ │ │ │ └── index_type.py │ │ │ └── processor │ │ │ │ └── __init__.py │ │ ├── data_post_processor │ │ │ └── __init__.py │ │ └── extractor │ │ │ └── entity │ │ │ └── datasource_type.py │ ├── tools │ │ ├── __init__.py │ │ ├── utils │ │ │ ├── __init__.py │ │ │ └── uuid_utils.py │ │ ├── provider │ │ │ └── builtin │ │ │ │ ├── __init__.py │ │ │ │ ├── cogview │ │ │ │ ├── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── dalle │ │ │ │ ├── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── spark │ │ │ │ └── __init__.py │ │ │ │ ├── stepfun │ │ │ │ ├── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── azuredalle │ │ │ │ ├── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── onebot │ │ │ │ ├── tools │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon.ico │ │ │ │ ├── aippt │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── chart │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── tavily │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── vanna │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── wecom │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── yahoo │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── comfyui │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── novitaai │ │ │ │ └── _assets │ │ │ │ │ └── icon.ico │ │ │ │ ├── feishu_base │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── feishu_task │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── feishu_wiki │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── lark_base │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── lark_task │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── lark_wiki │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── slidespeak │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── vectorizer │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── xinference │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── lark_calendar │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── rapidapi │ │ │ │ └── _assets │ │ │ │ │ └── rapidapi.png │ │ │ │ ├── baidu_translate │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── feishu_calendar │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── lark_spreadsheet │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── stablediffusion │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── feishu_spreadsheet │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ ├── lark_message_and_group │ │ │ │ └── _assets │ │ │ │ │ └── icon.png │ │ │ │ └── firecrawl │ │ │ │ └── _assets │ │ │ │ └── icon.svg │ │ └── docs │ │ │ └── images │ │ │ └── index │ │ │ ├── image.png │ │ │ ├── image-1.png │ │ │ └── image-2.png │ ├── entities │ │ ├── __init__.py │ │ ├── agent_entities.py │ │ └── embedding_type.py │ ├── extension │ │ └── __init__.py │ ├── moderation │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __builtin__ │ │ │ └── __init__.py │ │ ├── keywords │ │ │ ├── __builtin__ │ │ │ └── __init__.py │ │ └── openai_moderation │ │ │ ├── __builtin__ │ │ │ └── __init__.py │ ├── workflow │ │ ├── __init__.py │ │ ├── entities │ │ │ └── __init__.py │ │ ├── utils │ │ │ ├── __init__.py │ │ │ └── condition │ │ │ │ └── __init__.py │ │ ├── nodes │ │ │ ├── loop │ │ │ │ └── __init__.py │ │ │ ├── variable_assigner │ │ │ │ ├── __init__.py │ │ │ │ ├── common │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── exc.py │ │ │ │ ├── v1 │ │ │ │ │ └── __init__.py │ │ │ │ └── v2 │ │ │ │ │ └── __init__.py │ │ │ ├── __init__.py │ │ │ ├── code │ │ │ │ └── __init__.py │ │ │ ├── tool │ │ │ │ └── __init__.py │ │ │ ├── start │ │ │ │ └── __init__.py │ │ │ ├── if_else │ │ │ │ └── __init__.py │ │ │ ├── list_operator │ │ │ │ └── __init__.py │ │ │ ├── end │ │ │ │ └── __init__.py │ │ │ ├── template_transform │ │ │ │ └── __init__.py │ │ │ ├── knowledge_retrieval │ │ │ │ └── __init__.py │ │ │ ├── parameter_extractor │ │ │ │ └── __init__.py │ │ │ ├── variable_aggregator │ │ │ │ └── __init__.py │ │ │ ├── answer │ │ │ │ └── __init__.py │ │ │ ├── document_extractor │ │ │ │ ├── __init__.py │ │ │ │ └── entities.py │ │ │ ├── base │ │ │ │ └── __init__.py │ │ │ └── question_classifier │ │ │ │ └── __init__.py │ │ ├── workflow_engine_manager.py │ │ ├── graph_engine │ │ │ ├── condition_handlers │ │ │ │ └── __init__.py │ │ │ └── __init__.py │ │ ├── constants.py │ │ └── callbacks │ │ │ └── __init__.py │ ├── callback_handler │ │ └── __init__.py │ ├── llm_generator │ │ ├── __init__.py │ │ └── output_parser │ │ │ ├── __init__.py │ │ │ └── errors.py │ ├── model_runtime │ │ ├── __init__.py │ │ ├── errors │ │ │ ├── __init__.py │ │ │ └── validate.py │ │ ├── utils │ │ │ └── __init__.py │ │ ├── callbacks │ │ │ └── __init__.py │ │ ├── model_providers │ │ │ ├── x │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ └── __init__.py │ │ │ ├── yi │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ ├── __base │ │ │ │ ├── __init__.py │ │ │ │ └── audio.mp3 │ │ │ ├── bedrock │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── _position.yaml │ │ │ │ │ ├── amazon.rerank-v1.yaml │ │ │ │ │ └── cohere.rerank-v3-5.yaml │ │ │ │ └── text_embedding │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ ├── chatglm │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ └── __init__.py │ │ │ ├── cohere │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── rerank-v3.5.yaml │ │ │ │ │ ├── rerank-english-v2.0.yaml │ │ │ │ │ ├── rerank-english-v3.0.yaml │ │ │ │ │ ├── rerank-multilingual-v2.0.yaml │ │ │ │ │ ├── rerank-multilingual-v3.0.yaml │ │ │ │ │ └── _position.yaml │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── google │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ └── __init__.py │ │ │ ├── hunyuan │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── text_embedding │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── hunyuan-text-embedding.yaml │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── localai │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ └── __init__.py │ │ │ │ ├── speech2text │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── minimax │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── text_embedding │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── nomic │ │ │ │ ├── __init__.py │ │ │ │ ├── text_embedding │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon_s_en.png │ │ │ ├── nvidia │ │ │ │ ├── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── rerank-qa-mistral-4b.yaml │ │ │ │ ├── text_embedding │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── embed-qa-4.yaml │ │ │ │ └── _assets │ │ │ │ │ └── icon_l_en.png │ │ │ ├── oci │ │ │ │ ├── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ ├── ollama │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── openai │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── tts │ │ │ │ │ └── __init__.py │ │ │ │ ├── moderation │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── text-moderation-stable.yaml │ │ │ │ ├── speech2text │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── whisper-1.yaml │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── openllm │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── spark │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ ├── stepfun │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── tencent │ │ │ │ ├── __init__.py │ │ │ │ └── speech2text │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── tencent.yaml │ │ │ ├── tongyi │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── tts │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── _position.yaml │ │ │ │ │ └── gte-rerank.yaml │ │ │ │ ├── text_embedding │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ ├── icon_l_zh.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── upstage │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── voyage │ │ │ │ ├── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── _position.yaml │ │ │ │ │ ├── rerank-1.yaml │ │ │ │ │ ├── rerank-2.yaml │ │ │ │ │ ├── rerank-lite-1.yaml │ │ │ │ │ └── rerank-lite-2.yaml │ │ │ │ └── text_embedding │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── _position.yaml │ │ │ │ │ ├── voyage-3.yaml │ │ │ │ │ ├── voyage-law-2.yaml │ │ │ │ │ ├── voyage-3-lite.yaml │ │ │ │ │ └── voyage-code-2.yaml │ │ │ ├── wenxin │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── bce-reranker-base_v1.yaml │ │ │ │ ├── text_embedding │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ ├── icon_l_zh.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── zhinao │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ ├── zhipuai │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── text_embedding.yaml │ │ │ │ │ ├── embedding-2.yaml │ │ │ │ │ └── embedding-3.yaml │ │ │ ├── anthropic │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ └── __init__.py │ │ │ ├── azure_openai │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── tts │ │ │ │ │ └── __init__.py │ │ │ │ ├── speech2text │ │ │ │ │ └── __init__.py │ │ │ │ ├── text_embedding │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon_l_en.png │ │ │ ├── baichuan │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── baichuan-text-embedding.yaml │ │ │ ├── deepseek │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ ├── fireworks │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── fishaudio │ │ │ │ ├── __init__.py │ │ │ │ └── tts │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── tts.yaml │ │ │ ├── gitee_ai │ │ │ │ ├── tts │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ │ ├── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── _position.yaml │ │ │ │ │ └── bge-reranker-v2-m3.yaml │ │ │ │ ├── speech2text │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── _position.yaml │ │ │ │ │ ├── whisper-base.yaml │ │ │ │ │ └── whisper-large.yaml │ │ │ │ └── text_embedding │ │ │ │ │ ├── _position.yaml │ │ │ │ │ └── bge-m3.yaml │ │ │ ├── gpustack │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── tts │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ └── __init__.py │ │ │ │ ├── speech2text │ │ │ │ │ └── __init__.py │ │ │ │ ├── text_embedding │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── jina │ │ │ │ └── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── jina-colbert-v1-en.yaml │ │ │ │ │ ├── jina-reranker-v1-base-en.yaml │ │ │ │ │ ├── jina-reranker-v1-tiny-en.yaml │ │ │ │ │ ├── jina-reranker-v1-turbo-en.yaml │ │ │ │ │ ├── jina-reranker-v2-base-multilingual.yaml │ │ │ │ │ └── _position.yaml │ │ │ ├── mistralai │ │ │ │ ├── __init__.py │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── mixedbread │ │ │ │ ├── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── mxbai-rerank-large-v1-en.yaml │ │ │ │ ├── text_embedding │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── moonshot │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── _position.yaml │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── nvidia_nim │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon_l_en.png │ │ │ ├── openrouter │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ └── __init__.py │ │ │ ├── perfxcloud │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── BAAI-bge-m3.yaml │ │ │ │ │ ├── _position.yaml │ │ │ │ │ ├── BAAI-bge-large-en-v1.5.yaml │ │ │ │ │ ├── BAAI-bge-large-zh-v1.5.yaml │ │ │ │ │ └── gte-Qwen2-7B-instruct.yaml │ │ │ ├── replicate │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── sagemaker │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ └── __init__.py │ │ │ │ ├── tts │ │ │ │ │ └── __init__.py │ │ │ │ ├── speech2text │ │ │ │ │ └── __init__.py │ │ │ │ ├── text_embedding │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── togetherai │ │ │ │ ├── __init__.py │ │ │ │ └── llm │ │ │ │ │ └── __init__.py │ │ │ ├── vertex_ai │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── text_embedding │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon_l_en.png │ │ │ ├── vessl_ai │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon_l_en.png │ │ │ ├── xinference │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ └── __init__.py │ │ │ │ ├── tts │ │ │ │ │ └── __init__.py │ │ │ │ ├── speech2text │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── azure_ai_studio │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ ├── groq │ │ │ │ └── speech2text │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── whisper-large-v3.yaml │ │ │ ├── huggingface_hub │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── huggingface_tei │ │ │ │ ├── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── siliconflow │ │ │ │ ├── tts │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bge-reranker-v2-m3.yaml │ │ │ │ │ └── bce-reranker-base_v1.yaml │ │ │ │ ├── speech2text │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── funaudio-sense-voice-small.yaml │ │ │ │ │ └── sense-voice-small.yaml │ │ │ │ └── text_embedding │ │ │ │ │ ├── bge-m3.yaml │ │ │ │ │ ├── bge-large-en-v1.5.yaml │ │ │ │ │ ├── bge-large-zh-v1.5.yaml │ │ │ │ │ └── bce-embedding-base-v1.yaml │ │ │ ├── volcengine_maas │ │ │ │ ├── __init__.py │ │ │ │ ├── legacy │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── volc_sdk │ │ │ │ │ │ ├── base │ │ │ │ │ │ └── __init__.py │ │ │ │ │ │ └── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── openai_api_compatible │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ ├── tts │ │ │ │ │ └── __init__.py │ │ │ │ ├── rerank │ │ │ │ │ └── __init__.py │ │ │ │ ├── speech2text │ │ │ │ │ └── __init__.py │ │ │ │ └── text_embedding │ │ │ │ │ └── __init__.py │ │ │ ├── triton_inference_server │ │ │ │ ├── __init__.py │ │ │ │ ├── llm │ │ │ │ │ └── __init__.py │ │ │ │ └── _assets │ │ │ │ │ └── icon_l_en.png │ │ │ ├── leptonai │ │ │ │ ├── llm │ │ │ │ │ └── _position.yaml │ │ │ │ └── _assets │ │ │ │ │ ├── icon_l_en.png │ │ │ │ │ └── icon_s_en.png │ │ │ └── __init__.py │ │ ├── schema_validators │ │ │ └── __init__.py │ │ └── docs │ │ │ ├── en_US │ │ │ └── images │ │ │ │ └── index │ │ │ │ ├── image.png │ │ │ │ ├── image-1.png │ │ │ │ ├── image-2.png │ │ │ │ ├── image-3.png │ │ │ │ ├── image-20231210143654461.png │ │ │ │ ├── image-20231210144229650.png │ │ │ │ ├── image-20231210144814617.png │ │ │ │ ├── image-20231210151548521.png │ │ │ │ ├── image-20231210151628992.png │ │ │ │ └── image-20231210165243632.png │ │ │ └── zh_Hans │ │ │ └── images │ │ │ └── index │ │ │ ├── image-1.png │ │ │ ├── image-2.png │ │ │ ├── image-3.png │ │ │ ├── image.png │ │ │ ├── image-20231210143654461.png │ │ │ ├── image-20231210144229650.png │ │ │ ├── image-20231210144814617.png │ │ │ ├── image-20231210151548521.png │ │ │ ├── image-20231210151628992.png │ │ │ └── image-20231210165243632.png │ ├── external_data_tool │ │ ├── __init__.py │ │ └── api │ │ │ ├── __init__.py │ │ │ └── __builtin__ │ ├── __init__.py │ ├── file │ │ └── constants.py │ └── variables │ │ └── exc.py ├── extensions │ ├── __init__.py │ ├── ext_database.py │ ├── ext_import_modules.py │ ├── ext_warnings.py │ ├── ext_set_secretkey.py │ └── ext_migrate.py ├── factories │ └── __init__.py ├── controllers │ ├── __init__.py │ ├── console │ │ ├── app │ │ │ └── __init__.py │ │ ├── billing │ │ │ └── __init__.py │ │ └── workspace │ │ │ └── __init__.py │ ├── service_api │ │ ├── app │ │ │ └── __init__.py │ │ └── dataset │ │ │ └── __init__.py │ ├── inner_api │ │ ├── workspace │ │ │ └── __init__.py │ │ └── __init__.py │ └── files │ │ ├── __init__.py │ │ └── error.py ├── services │ ├── auth │ │ ├── __init__.py │ │ ├── jina │ │ │ └── __init__.py │ │ ├── firecrawl │ │ │ └── __init__.py │ │ └── auth_type.py │ ├── entities │ │ └── __init__.py │ ├── workflow │ │ └── __init__.py │ ├── enterprise │ │ └── __init__.py │ ├── recommend_app │ │ ├── __init__.py │ │ ├── buildin │ │ │ └── __init__.py │ │ ├── database │ │ │ └── __init__.py │ │ ├── remote │ │ │ └── __init__.py │ │ └── recommend_app_type.py │ ├── __init__.py │ └── errors │ │ ├── app.py │ │ ├── completion.py │ │ ├── document.py │ │ ├── index.py │ │ ├── app_model_config.py │ │ ├── base.py │ │ ├── dataset.py │ │ └── workspace.py ├── configs │ ├── middleware │ │ └── cache │ │ │ └── __init__.py │ ├── __init__.py │ └── remote_settings_sources │ │ └── enums.py ├── migrations │ └── README ├── dify_app.py ├── .idea │ └── icon.png ├── poetry.toml ├── .dockerignore └── constants │ └── tts_auto_play_timeout.py ├── web ├── __mocks__ │ └── mime.js ├── i18n │ ├── th-TH │ │ ├── app-debug.ts │ │ ├── layout.ts │ │ └── register.ts │ ├── ko-KR │ │ ├── layout.ts │ │ └── register.ts │ ├── tr-TR │ │ ├── layout.ts │ │ └── register.ts │ ├── de-DE │ │ ├── layout.ts │ │ └── register.ts │ ├── en-US │ │ ├── layout.ts │ │ └── register.ts │ ├── es-ES │ │ ├── layout.ts │ │ └── register.ts │ ├── fa-IR │ │ ├── layout.ts │ │ └── register.ts │ ├── fr-FR │ │ ├── layout.ts │ │ └── register.ts │ ├── hi-IN │ │ ├── layout.ts │ │ └── register.ts │ ├── it-IT │ │ ├── layout.ts │ │ └── register.ts │ ├── ja-JP │ │ ├── layout.ts │ │ └── register.ts │ ├── pl-PL │ │ ├── layout.ts │ │ └── register.ts │ ├── pt-BR │ │ ├── layout.ts │ │ └── register.ts │ ├── ro-RO │ │ ├── layout.ts │ │ └── register.ts │ ├── ru-RU │ │ ├── layout.ts │ │ └── register.ts │ ├── sl-SI │ │ ├── layout.ts │ │ └── register.ts │ ├── uk-UA │ │ ├── layout.ts │ │ └── register.ts │ ├── vi-VN │ │ ├── layout.ts │ │ └── register.ts │ ├── zh-Hans │ │ ├── layout.ts │ │ └── register.ts │ └── zh-Hant │ │ ├── layout.ts │ │ └── register.ts ├── service │ └── knowledge │ │ ├── use-dateset.ts │ │ ├── use-import.ts │ │ └── use-hit-testing.ts ├── app │ ├── components │ │ ├── datasets │ │ │ ├── loading.tsx │ │ │ ├── preview │ │ │ │ └── index.tsx │ │ │ ├── create │ │ │ │ ├── index.module.css │ │ │ │ ├── assets │ │ │ │ │ └── jina.png │ │ │ │ └── website │ │ │ │ │ └── index.module.css │ │ │ ├── formatted-text │ │ │ │ └── flavours │ │ │ │ │ └── type.ts │ │ │ └── api │ │ │ │ └── index.tsx │ │ ├── header │ │ │ ├── nav │ │ │ │ └── index.module.css │ │ │ ├── account-setting │ │ │ │ ├── data-source-page │ │ │ │ │ ├── index.module.css │ │ │ │ │ └── panel │ │ │ │ │ │ └── types.ts │ │ │ │ ├── model-provider-page │ │ │ │ │ ├── model-parameter-modal │ │ │ │ │ │ └── stop-sequence.tsx │ │ │ │ │ └── provider-card │ │ │ │ │ │ └── index.module.css │ │ │ │ ├── members-page │ │ │ │ │ └── operation │ │ │ │ │ │ └── index.module.css │ │ │ │ └── index.module.css │ │ │ ├── assets │ │ │ │ └── serpapi.png │ │ │ ├── account-about │ │ │ │ └── index.module.css │ │ │ └── account-dropdown │ │ │ │ └── workplace-selector │ │ │ │ └── index.module.css │ │ ├── app │ │ │ ├── configuration │ │ │ │ ├── base │ │ │ │ │ ├── icons │ │ │ │ │ │ ├── citation.tsx │ │ │ │ │ │ └── remove-icon │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ └── var-highlight │ │ │ │ │ │ └── style.module.css │ │ │ │ ├── dataset-config │ │ │ │ │ └── context-var │ │ │ │ │ │ └── style.module.css │ │ │ │ └── ctrl-btn-group │ │ │ │ │ └── style.module.css │ │ │ └── switch-app-modal │ │ │ │ └── style.module.css │ │ ├── base │ │ │ ├── auto-height-textarea │ │ │ │ └── style.module.scss │ │ │ ├── features │ │ │ │ ├── index.tsx │ │ │ │ └── new-feature-panel │ │ │ │ │ └── annotation-reply │ │ │ │ │ └── type.ts │ │ │ ├── icons │ │ │ │ ├── src │ │ │ │ │ ├── public │ │ │ │ │ │ ├── model │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── billing │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── avatar │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── plugins │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── other │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── vender │ │ │ │ │ │ ├── line │ │ │ │ │ │ │ ├── weather │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── education │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── shapes │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── users │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── mapsAndTravel │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ └── alertsAndFeedback │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── solid │ │ │ │ │ │ │ ├── layout │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── security │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── alertsAndFeedback │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── mapsAndTravel │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── FinanceAndECommerce │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── arrows │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ ├── shapes │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ └── files │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── other │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── image │ │ │ │ │ │ └── llm │ │ │ │ │ │ ├── Wxyy.module.css │ │ │ │ │ │ ├── Tongyi.module.css │ │ │ │ │ │ ├── Minimax.module.css │ │ │ │ │ │ ├── WxyyText.module.css │ │ │ │ │ │ ├── MinimaxText.module.css │ │ │ │ │ │ ├── TongyiText.module.css │ │ │ │ │ │ └── WxyyTextCn.module.css │ │ │ │ └── assets │ │ │ │ │ └── image │ │ │ │ │ └── llm │ │ │ │ │ ├── wxyy.png │ │ │ │ │ ├── tongyi.png │ │ │ │ │ ├── minimax.png │ │ │ │ │ ├── wxyy-text.png │ │ │ │ │ ├── tongyi-text.png │ │ │ │ │ ├── minimax-text.png │ │ │ │ │ ├── tongyi-text-cn.png │ │ │ │ │ ├── wxyy-text-cn.png │ │ │ │ │ └── baichuan-text-cn.png │ │ │ ├── chat │ │ │ │ ├── embedded-chatbot │ │ │ │ │ └── utils.ts │ │ │ │ └── constants.ts │ │ │ ├── tag-management │ │ │ │ ├── constant.ts │ │ │ │ └── style.module.css │ │ │ ├── notion-page-selector │ │ │ │ ├── base.module.css │ │ │ │ └── index.tsx │ │ │ ├── radio │ │ │ │ └── context │ │ │ │ │ └── index.tsx │ │ │ ├── prompt-editor │ │ │ │ └── plugins │ │ │ │ │ └── variable-value-block │ │ │ │ │ └── utils.ts │ │ │ ├── tab-header │ │ │ │ └── style.module.css │ │ │ ├── notion-icon │ │ │ │ └── index.module.css │ │ │ └── modal │ │ │ │ └── index.css │ │ ├── workflow │ │ │ ├── nodes │ │ │ │ ├── _base │ │ │ │ │ └── components │ │ │ │ │ │ └── retry │ │ │ │ │ │ ├── utils.ts │ │ │ │ │ │ ├── types.ts │ │ │ │ │ │ └── style.module.css │ │ │ │ ├── iteration-start │ │ │ │ │ ├── constants.ts │ │ │ │ │ └── types.ts │ │ │ │ ├── code │ │ │ │ │ └── utils.ts │ │ │ │ ├── end │ │ │ │ │ ├── utils.ts │ │ │ │ │ └── types.ts │ │ │ │ ├── llm │ │ │ │ │ └── utils.ts │ │ │ │ ├── tool │ │ │ │ │ └── utils.ts │ │ │ │ ├── answer │ │ │ │ │ ├── utils.ts │ │ │ │ │ └── types.ts │ │ │ │ ├── start │ │ │ │ │ ├── utils.ts │ │ │ │ │ └── types.ts │ │ │ │ ├── template-transform │ │ │ │ │ └── utils.ts │ │ │ │ └── question-classifier │ │ │ │ │ └── utils.ts │ │ │ └── note-node │ │ │ │ └── note-editor │ │ │ │ ├── toolbar │ │ │ │ └── divider.tsx │ │ │ │ └── index.tsx │ │ ├── app-sidebar │ │ │ ├── expert.png │ │ │ └── completion.png │ │ ├── tools │ │ │ ├── add-tool-modal │ │ │ │ ├── D.png │ │ │ │ └── empty.png │ │ │ ├── workflow-tool │ │ │ │ └── confirm-modal │ │ │ │ │ └── style.module.css │ │ │ └── labels │ │ │ │ └── constant.ts │ │ └── custom │ │ │ ├── custom-web-app-brand │ │ │ └── style.module.css │ │ │ └── style.module.css │ ├── activate │ │ ├── team-28x28.png │ │ └── style.module.css │ ├── signin │ │ └── assets │ │ │ └── background.png │ ├── account │ │ └── page.tsx │ └── (commonLayout) │ │ ├── explore │ │ └── apps │ │ │ └── page.tsx │ │ └── app │ │ └── (appDetailLayout) │ │ └── [appId] │ │ └── style.module.css ├── .eslintignore ├── public │ ├── favicon.ico │ ├── logo │ │ ├── logo-site.png │ │ ├── logo-site-dark.png │ │ ├── logo-embedded-chat-avatar.png │ │ └── logo-embedded-chat-header.png │ ├── screenshots │ │ ├── dark │ │ │ ├── Agent.png │ │ │ ├── Agent@2x.png │ │ │ ├── Agent@3x.png │ │ │ ├── Chatbot.png │ │ │ ├── Chatflow.png │ │ │ ├── Workflow.png │ │ │ ├── Chatbot@2x.png │ │ │ ├── Chatbot@3x.png │ │ │ ├── Chatflow@2x.png │ │ │ ├── Chatflow@3x.png │ │ │ ├── TextGenerator.png │ │ │ ├── Workflow@2x.png │ │ │ ├── Workflow@3x.png │ │ │ ├── TextGenerator@2x.png │ │ │ └── TextGenerator@3x.png │ │ └── light │ │ │ ├── Agent.png │ │ │ ├── Chatbot.png │ │ │ ├── Agent@2x.png │ │ │ ├── Agent@3x.png │ │ │ ├── Chatflow.png │ │ │ ├── Workflow.png │ │ │ ├── Chatbot@2x.png │ │ │ ├── Chatbot@3x.png │ │ │ ├── Chatflow@2x.png │ │ │ ├── Chatflow@3x.png │ │ │ ├── Workflow@2x.png │ │ │ ├── Workflow@3x.png │ │ │ ├── TextGenerator.png │ │ │ ├── TextGenerator@2x.png │ │ │ └── TextGenerator@3x.png │ └── vs │ │ └── base │ │ └── browser │ │ └── ui │ │ └── codicons │ │ └── codicon │ │ └── codicon.ttf ├── .storybook │ └── storybook.css ├── postcss.config.js ├── .vscode │ └── extensions.json ├── utils │ ├── timezone.ts │ └── classnames.ts ├── global.d.ts └── docker │ └── pm2.json ├── docker ├── nginx │ └── ssl │ │ └── .gitkeep ├── volumes │ ├── sandbox │ │ └── dependencies │ │ │ └── python-requirements.txt │ └── oceanbase │ │ └── init.d │ │ └── vec_memory.sql ├── docker-compose.png └── couchbase-server │ └── Dockerfile ├── docker-legacy ├── nginx │ └── ssl │ │ └── .gitkeep ├── volumes │ └── sandbox │ │ └── dependencies │ │ └── python-requirements.txt └── docker-compose.png ├── sdks ├── python-client │ ├── tests │ │ └── __init__.py │ ├── MANIFEST.in │ ├── dify_client │ │ └── __init__.py │ └── build.sh └── nodejs-client │ └── babel.config.json ├── .github └── linters │ ├── .hadolint.yaml │ ├── .isort.cfg │ └── .yaml-lint.yml ├── .devcontainer ├── post_start_command.sh ├── troubleshooting.png └── noop.txt ├── AUTHORS ├── images ├── demo.png ├── models.png ├── wechat.png └── GitHub_README_cover.png └── dev └── pytest ├── pytest_artifacts.sh ├── pytest_unit_tests.sh ├── pytest_workflow.sh └── pytest_tools.sh /api/events/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/fields/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/libs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tasks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/__mocks__/mime.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/agent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/errors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/helper/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/ops/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/prompt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/factories/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker/nginx/ssl/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/i18n/th-TH/app-debug.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/controllers/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /api/core/app/apps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/entities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/features/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/entities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/extension/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/moderation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/ops/entities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/prompt/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/docstore/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/splitter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/tools/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/entities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/workflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/apps/chat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/apps/workflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/task_pipeline/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/callback_handler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/llm_generator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/moderation/api/__builtin__: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /api/core/moderation/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/ops/opik_trace/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/prompt/entities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/retrieval/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/entities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/auth/jina/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/enterprise/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/recommend_app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/oss/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker-legacy/nginx/ssl/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sdks/python-client/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/service/knowledge/use-dateset.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/service/knowledge/use-import.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/configs/middleware/cache/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/controllers/console/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/controllers/console/billing/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/controllers/service_api/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/apps/advanced_chat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/apps/agent_chat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/apps/completion/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/external_data_tool/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/external_data_tool/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/errors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/moderation/keywords/__builtin__: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /api/core/moderation/keywords/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/ops/langfuse_trace/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/ops/langsmith_trace/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/keyword/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/index_processor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/loop/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/auth/firecrawl/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/.gitignore: -------------------------------------------------------------------------------- 1 | .env.test -------------------------------------------------------------------------------- /api/tests/unit_tests/core/rag/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/oss/__mock/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/utils/yaml/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/app/components/datasets/loading.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/service/knowledge/use-hit-testing.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/controllers/console/workspace/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/controllers/inner_api/workspace/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/controllers/service_api/dataset/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/features/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/external_data_tool/api/__builtin__: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /api/core/helper/code_executor/jinja2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/llm_generator/output_parser/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/callbacks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/ops/langfuse_trace/entities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/prompt/prompt_templates/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/data_post_processor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/baidu/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/chroma/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/lindorm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/milvus/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/myscale/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/oracle/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/pgvector/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/qdrant/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/relyt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/tencent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/upstash/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/vikingdb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/weaviate/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/retrieval/output_parser/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/utils/condition/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/workflow_engine_manager.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/recommend_app/buildin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/recommend_app/database/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/recommend_app/remote/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/.gitignore: -------------------------------------------------------------------------------- 1 | .env.test -------------------------------------------------------------------------------- /api/tests/integration_tests/tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/workflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/helper/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/prompt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/workflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/oss/opendal/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/oss/tencent_cos/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/app/components/datasets/preview/index.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/app/components/header/nav/index.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/__init__.py: -------------------------------------------------------------------------------- 1 | import core.moderation.base 2 | -------------------------------------------------------------------------------- /api/core/app/app_config/easy_ui_based_app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/features/annotation_reply/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/features/hosting_moderation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/helper/code_executor/javascript/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/helper/code_executor/python3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/x/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/yi/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/schema_validators/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/moderation/openai_moderation/__builtin__: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /api/core/moderation/openai_moderation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/ops/langsmith_trace/entities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/keyword/jieba/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/analyticdb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/couchbase/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/elasticsearch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/oceanbase/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/opensearch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/pgvecto_rs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/tidb_vector/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/index_processor/constant/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/index_processor/processor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/cogview/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/dalle/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/spark/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/stepfun/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/variable_assigner/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/artifact_tests/dependencies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/tools/code/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/__mock/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/baidu/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/chroma/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/couchbase/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/lindorm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/milvus/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/myscale/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/oceanbase/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/oracle/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/pgvector/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/qdrant/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/upstash/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/vikingdb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/weaviate/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/model_runtime/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/rag/datasource/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/rag/extractor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/workflow/nodes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/oss/volcengine_tos/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/services/workflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/app/components/datasets/create/index.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/features/file_upload/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/workflow_ui_based_app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/__base/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/bedrock/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/chatglm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/google/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/hunyuan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/localai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/minimax/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nomic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nvidia/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/oci/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/ollama/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openllm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/spark/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/stepfun/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tencent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/upstage/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/wenxin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/x/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/yi/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/zhinao/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/zhipuai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/rag/datasource/vdb/tidb_on_qdrant/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/azuredalle/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/onebot/tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/jina/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/oci/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/x/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/tools/api_tool/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/analyticdb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/elasticsearch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/opensearch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/pgvecto_rs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/tcvectordb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/vdb/tidb_vector/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/workflow/nodes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/rag/datasource/vdb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/oss/aliyun_oss/aliyun_oss/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/linters/.hadolint.yaml: -------------------------------------------------------------------------------- 1 | failure-threshold: "error" 2 | -------------------------------------------------------------------------------- /.github/linters/.isort.cfg: -------------------------------------------------------------------------------- 1 | [settings] 2 | line_length=120 3 | -------------------------------------------------------------------------------- /api/core/app/app_config/easy_ui_based_app/agent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/easy_ui_based_app/dataset/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/easy_ui_based_app/variables/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/features/more_like_this/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/features/opening_statement/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/features/retrieval_resource/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/features/speech_to_text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/features/text_to_speech/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/anthropic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_openai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/baichuan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/baichuan/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/bedrock/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/chatglm/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/deepseek/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/deepseek/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/fireworks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/fishaudio/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/google/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gpustack/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gpustack/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/hunyuan/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/jina/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/localai/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/minimax/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/mistralai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/mixedbread/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/moonshot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/moonshot/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nvidia_nim/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/ollama/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openllm/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openrouter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/perfxcloud/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/replicate/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/sagemaker/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/spark/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/stepfun/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/togetherai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/upstage/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/vertex_ai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/vessl_ai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/vessl_ai/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/wenxin/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/xinference/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/zhinao/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/zhipuai/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/graph_engine/condition_handlers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/variable_assigner/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/anthropic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/baichuan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/bedrock/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/chatglm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/cohere/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/fireworks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/fishaudio/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/gitee_ai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/google/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/gpustack/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/hunyuan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/localai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/minimax/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/nomic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/novita/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/ollama/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/openai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/openllm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/replicate/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/sagemaker/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/spark/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/stepfun/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/tongyi/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/upstage/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/vessl_ai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/voyage/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/wenxin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/zhinao/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/zhipuai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/rag/extractor/firecrawl/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/workflow/graph_engine/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/workflow/nodes/answer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/workflow/nodes/iteration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker/volumes/sandbox/dependencies/python-requirements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/app/components/app/configuration/base/icons/citation.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/app/components/base/auto-height-textarea/style.module.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/common/sensitive_word_avoidance/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/easy_ui_based_app/model_config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/workflow_ui_based_app/variables/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/anthropic/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_ai_studio/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_openai/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_openai/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/bedrock/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/fireworks/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/fishaudio/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gpustack/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/groq/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/huggingface_hub/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/huggingface_tei/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/localai/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/mixedbread/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nvidia/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nvidia_nim/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai/moderation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openrouter/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/perfxcloud/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/replicate/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/sagemaker/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/sagemaker/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/sagemaker/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/togetherai/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/vertex_ai/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/volcengine_maas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/wenxin/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/xinference/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/xinference/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/xinference/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/migrations/README: -------------------------------------------------------------------------------- 1 | Single-database configuration for Flask. 2 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/azure_openai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/mixedbread/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/openrouter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/siliconflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/togetherai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/xinference/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/workflow/nodes/code_executor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/model_runtime/model_providers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker-legacy/volumes/sandbox/dependencies/python-requirements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sdks/python-client/MANIFEST.in: -------------------------------------------------------------------------------- 1 | recursive-include dify_client *.py -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/_base/components/retry/utils.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/easy_ui_based_app/prompt_template/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/file/constants.py: -------------------------------------------------------------------------------- 1 | FILE_MODEL_IDENTITY = "__dify__file__" 2 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_ai_studio/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_ai_studio/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/bedrock/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gpustack/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/huggingface_hub/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/huggingface_tei/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/hunyuan/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/localai/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/localai/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/minimax/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nomic/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nvidia/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/oci/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/ollama/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai_api_compatible/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openllm/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/sagemaker/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tencent/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/upstage/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/volcengine_maas/legacy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/volcengine_maas/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/wenxin/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/xinference/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/zhipuai/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/azure_ai_studio/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/huggingface_hub/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/huggingface_tei/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/volcengine_maas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/app/app_config/features/suggested_questions_after_answer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_openai/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_openai/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/baichuan/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/fireworks/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gpustack/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/mixedbread/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai_api_compatible/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai_api_compatible/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/perfxcloud/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/replicate/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/sagemaker/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/triton_inference_server/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/triton_inference_server/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/vertex_ai/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/xinference/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/variables/exc.py: -------------------------------------------------------------------------------- 1 | class VariableError(ValueError): 2 | pass 3 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/openai_api_compatible/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit_tests/core/model_runtime/model_providers/wenxin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/app/components/app/configuration/base/icons/remove-icon/style.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/app/components/header/account-setting/data-source-page/index.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.devcontainer/post_start_command.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd api && poetry install -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/huggingface_hub/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/huggingface_tei/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai_api_compatible/rerank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/volcengine_maas/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/services/__init__.py: -------------------------------------------------------------------------------- 1 | from . import errors 2 | 3 | __all__ = ["errors"] 4 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | nite-knite 2 | goocarlos 3 | crazywoola 4 | iamjoel 5 | idsong 6 | takatost 7 | -------------------------------------------------------------------------------- /api/core/app/features/rate_limiting/__init__.py: -------------------------------------------------------------------------------- 1 | from .rate_limit import RateLimit 2 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai_api_compatible/speech2text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai_api_compatible/text_embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/rerank/_position.yaml: -------------------------------------------------------------------------------- 1 | - gte-rerank 2 | -------------------------------------------------------------------------------- /web/i18n/ko-KR/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = {} 2 | 3 | export default translation 4 | -------------------------------------------------------------------------------- /web/i18n/th-TH/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = {} 2 | 3 | export default translation 4 | -------------------------------------------------------------------------------- /web/i18n/tr-TR/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = {} 2 | 3 | export default translation 4 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/upstage/llm/_position.yaml: -------------------------------------------------------------------------------- 1 | - solar-1-mini-chat 2 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/volcengine_maas/legacy/volc_sdk/base/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /api/dify_app.py: -------------------------------------------------------------------------------- 1 | from flask import Flask 2 | 3 | 4 | class DifyApp(Flask): 5 | pass 6 | -------------------------------------------------------------------------------- /images/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/images/demo.png -------------------------------------------------------------------------------- /web/app/components/base/features/index.tsx: -------------------------------------------------------------------------------- 1 | export { FeaturesProvider } from './context' 2 | -------------------------------------------------------------------------------- /web/i18n/de-DE/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/en-US/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/es-ES/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/fa-IR/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/fr-FR/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/hi-IN/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/hi-IN/register.ts: -------------------------------------------------------------------------------- 1 | const translation = {} 2 | 3 | export default translation 4 | -------------------------------------------------------------------------------- /web/i18n/it-IT/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/ja-JP/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/ko-KR/register.ts: -------------------------------------------------------------------------------- 1 | const translation = {} 2 | 3 | export default translation 4 | -------------------------------------------------------------------------------- /web/i18n/pl-PL/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/pt-BR/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/ro-RO/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/ru-RU/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/sl-SI/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/th-TH/register.ts: -------------------------------------------------------------------------------- 1 | const translation = {} 2 | 3 | export default translation 4 | -------------------------------------------------------------------------------- /web/i18n/tr-TR/register.ts: -------------------------------------------------------------------------------- 1 | const translation = {} 2 | 3 | export default translation 4 | -------------------------------------------------------------------------------- /web/i18n/uk-UA/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/vi-VN/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /api/configs/__init__.py: -------------------------------------------------------------------------------- 1 | from .app_config import DifyConfig 2 | 3 | dify_config = DifyConfig() 4 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/rerank/_position.yaml: -------------------------------------------------------------------------------- 1 | - bge-reranker-v2-m3 2 | -------------------------------------------------------------------------------- /images/models.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/images/models.png -------------------------------------------------------------------------------- /images/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/images/wechat.png -------------------------------------------------------------------------------- /web/i18n/de-DE/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/en-US/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/es-ES/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/fa-IR/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/fr-FR/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/it-IT/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/ja-JP/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/pl-PL/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/pt-BR/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/ro-RO/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/ru-RU/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/sl-SI/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/uk-UA/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/vi-VN/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/zh-Hans/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/zh-Hans/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/zh-Hant/layout.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /web/i18n/zh-Hant/register.ts: -------------------------------------------------------------------------------- 1 | const translation = { 2 | } 3 | 4 | export default translation 5 | -------------------------------------------------------------------------------- /api/.idea/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/.idea/icon.png -------------------------------------------------------------------------------- /api/core/llm_generator/output_parser/errors.py: -------------------------------------------------------------------------------- 1 | class OutputParserError(ValueError): 2 | pass 3 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/__init__.py: -------------------------------------------------------------------------------- 1 | from .enums import NodeType 2 | 3 | __all__ = ["NodeType"] 4 | -------------------------------------------------------------------------------- /api/poetry.toml: -------------------------------------------------------------------------------- 1 | [virtualenvs] 2 | in-project = true 3 | create = true 4 | prefer-active-python = true -------------------------------------------------------------------------------- /dev/pytest/pytest_artifacts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | 4 | pytest api/tests/artifact_tests/ 5 | -------------------------------------------------------------------------------- /docker/volumes/oceanbase/init.d/vec_memory.sql: -------------------------------------------------------------------------------- 1 | ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30; -------------------------------------------------------------------------------- /web/.eslintignore: -------------------------------------------------------------------------------- 1 | /**/node_modules/* 2 | node_modules/ 3 | 4 | dist/ 5 | build/ 6 | out/ 7 | .next/ -------------------------------------------------------------------------------- /web/app/components/header/account-setting/model-provider-page/model-parameter-modal/stop-sequence.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/code/__init__.py: -------------------------------------------------------------------------------- 1 | from .code_node import CodeNode 2 | 3 | __all__ = ["CodeNode"] 4 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/tool/__init__.py: -------------------------------------------------------------------------------- 1 | from .tool_node import ToolNode 2 | 3 | __all__ = ["ToolNode"] 4 | -------------------------------------------------------------------------------- /dev/pytest/pytest_unit_tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | 4 | # libs 5 | pytest api/tests/unit_tests 6 | -------------------------------------------------------------------------------- /sdks/nodejs-client/babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env" 4 | ] 5 | } -------------------------------------------------------------------------------- /web/app/components/base/icons/src/public/model/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Checked } from './Checked' 2 | -------------------------------------------------------------------------------- /web/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/favicon.ico -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/speech2text/_position.yaml: -------------------------------------------------------------------------------- 1 | - whisper-base 2 | - whisper-large 3 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/start/__init__.py: -------------------------------------------------------------------------------- 1 | from .start_node import StartNode 2 | 3 | __all__ = ["StartNode"] 4 | -------------------------------------------------------------------------------- /dev/pytest/pytest_workflow.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | 4 | pytest api/tests/integration_tests/workflow 5 | -------------------------------------------------------------------------------- /docker/docker-compose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/docker/docker-compose.png -------------------------------------------------------------------------------- /web/app/components/base/icons/src/public/billing/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Sparkles } from './Sparkles' 2 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/line/weather/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Stars02 } from './Stars02' 2 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/solid/layout/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Grid01 } from './Grid01' 2 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/solid/security/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Lock01 } from './Lock01' 2 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/bedrock/rerank/_position.yaml: -------------------------------------------------------------------------------- 1 | - amazon.rerank-v1 2 | - cohere.rerank-v3-5 3 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/if_else/__init__.py: -------------------------------------------------------------------------------- 1 | from .if_else_node import IfElseNode 2 | 3 | __all__ = ["IfElseNode"] 4 | -------------------------------------------------------------------------------- /sdks/python-client/dify_client/__init__.py: -------------------------------------------------------------------------------- 1 | from dify_client.client import ChatClient, CompletionClient, DifyClient 2 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/line/images/index.ts: -------------------------------------------------------------------------------- 1 | export { default as ImagePlus } from './ImagePlus' 2 | -------------------------------------------------------------------------------- /images/GitHub_README_cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/images/GitHub_README_cover.png -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/line/education/index.ts: -------------------------------------------------------------------------------- 1 | export { default as BookOpen01 } from './BookOpen01' 2 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/line/shapes/index.ts: -------------------------------------------------------------------------------- 1 | export { default as CubeOutline } from './CubeOutline' 2 | -------------------------------------------------------------------------------- /web/public/logo/logo-site.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/logo/logo-site.png -------------------------------------------------------------------------------- /api/core/workflow/nodes/list_operator/__init__.py: -------------------------------------------------------------------------------- 1 | from .node import ListOperatorNode 2 | 3 | __all__ = ["ListOperatorNode"] 4 | -------------------------------------------------------------------------------- /dev/pytest/pytest_tools.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | 4 | pytest api/tests/integration_tests/tools/test_all_provider.py 5 | -------------------------------------------------------------------------------- /docker-legacy/docker-compose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/docker-legacy/docker-compose.png -------------------------------------------------------------------------------- /web/.storybook/storybook.css: -------------------------------------------------------------------------------- 1 | html, 2 | body { 3 | max-width: unset; 4 | overflow: auto; 5 | user-select: text; 6 | } 7 | -------------------------------------------------------------------------------- /web/app/activate/team-28x28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/activate/team-28x28.png -------------------------------------------------------------------------------- /web/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /.devcontainer/troubleshooting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/.devcontainer/troubleshooting.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/deepseek/llm/_position.yaml: -------------------------------------------------------------------------------- 1 | - deepseek-chat 2 | - deepseek-coder 3 | - deepseek-reasoner 4 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/moonshot/llm/_position.yaml: -------------------------------------------------------------------------------- 1 | - moonshot-v1-8k 2 | - moonshot-v1-32k 3 | - moonshot-v1-128k 4 | -------------------------------------------------------------------------------- /web/public/logo/logo-site-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/logo/logo-site-dark.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/text_embedding/_position.yaml: -------------------------------------------------------------------------------- 1 | - bge-large-zh-v1.5 2 | - bge-small-zh-v1.5 3 | - bge-m3 4 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/rerank/_position.yaml: -------------------------------------------------------------------------------- 1 | - rerank-2 2 | - rerank-lite-2 3 | - rerank-1 4 | - rerank-lite-1 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/zhinao/llm/_position.yaml: -------------------------------------------------------------------------------- 1 | - 360gpt2-pro 2 | - 360gpt-turbo 3 | - 360gpt-turbo-responsibility-8k 4 | -------------------------------------------------------------------------------- /web/app/activate/style.module.css: -------------------------------------------------------------------------------- 1 | .logo { 2 | background: #fff center no-repeat url(./team-28x28.png); 3 | background-size: 56px; 4 | } -------------------------------------------------------------------------------- /web/app/components/app/configuration/base/var-highlight/style.module.css: -------------------------------------------------------------------------------- 1 | .item { 2 | background-color: rgba(21, 94, 239, 0.05); 3 | } -------------------------------------------------------------------------------- /web/app/components/app/configuration/dataset-config/context-var/style.module.css: -------------------------------------------------------------------------------- 1 | .trigger:hover .dropdownIcon { 2 | color: #98A2B3; 3 | } -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/solid/alertsAndFeedback/index.ts: -------------------------------------------------------------------------------- 1 | export { default as AlertTriangle } from './AlertTriangle' 2 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/iteration-start/constants.ts: -------------------------------------------------------------------------------- 1 | export const CUSTOM_ITERATION_START_NODE = 'custom-iteration-start' 2 | -------------------------------------------------------------------------------- /web/app/signin/assets/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/signin/assets/background.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Agent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Agent.png -------------------------------------------------------------------------------- /api/core/rag/datasource/keyword/keyword_type.py: -------------------------------------------------------------------------------- 1 | from enum import StrEnum 2 | 3 | 4 | class KeyWordType(StrEnum): 5 | JIEBA = "jieba" 6 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/variable_assigner/v1/__init__.py: -------------------------------------------------------------------------------- 1 | from .node import VariableAssignerNode 2 | 3 | __all__ = ["VariableAssignerNode"] 4 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/variable_assigner/v2/__init__.py: -------------------------------------------------------------------------------- 1 | from .node import VariableAssignerNode 2 | 3 | __all__ = ["VariableAssignerNode"] 4 | -------------------------------------------------------------------------------- /api/events/dataset_event.py: -------------------------------------------------------------------------------- 1 | from blinker import signal 2 | 3 | # sender: dataset 4 | dataset_was_deleted = signal("dataset-was-deleted") 5 | -------------------------------------------------------------------------------- /web/public/screenshots/dark/Agent@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Agent@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Agent@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Agent@3x.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Chatbot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Chatbot.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Chatflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Chatflow.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Workflow.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Agent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Agent.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Chatbot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Chatbot.png -------------------------------------------------------------------------------- /api/core/tools/docs/images/index/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/docs/images/index/image.png -------------------------------------------------------------------------------- /api/events/document_event.py: -------------------------------------------------------------------------------- 1 | from blinker import signal 2 | 3 | # sender: document 4 | document_was_deleted = signal("document-was-deleted") 5 | -------------------------------------------------------------------------------- /web/app/components/app-sidebar/expert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/app-sidebar/expert.png -------------------------------------------------------------------------------- /web/app/components/base/chat/embedded-chatbot/utils.ts: -------------------------------------------------------------------------------- 1 | export const isDify = () => { 2 | return document.referrer.includes('dify.ai') 3 | } 4 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/public/avatar/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Robot } from './Robot' 2 | export { default as User } from './User' 3 | -------------------------------------------------------------------------------- /web/public/screenshots/dark/Chatbot@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Chatbot@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Chatbot@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Chatbot@3x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Agent@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Agent@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Agent@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Agent@3x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Chatflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Chatflow.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Workflow.png -------------------------------------------------------------------------------- /api/core/helper/code_executor/__init__.py: -------------------------------------------------------------------------------- 1 | from .code_executor import CodeExecutor, CodeLanguage 2 | 3 | __all__ = ["CodeExecutor", "CodeLanguage"] 4 | -------------------------------------------------------------------------------- /api/core/tools/docs/images/index/image-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/docs/images/index/image-1.png -------------------------------------------------------------------------------- /api/core/tools/docs/images/index/image-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/docs/images/index/image-2.png -------------------------------------------------------------------------------- /web/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "bradlc.vscode-tailwindcss", 4 | "firsttris.vscode-jest-runner" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /web/app/components/app-sidebar/completion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/app-sidebar/completion.png -------------------------------------------------------------------------------- /web/app/components/header/assets/serpapi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/header/assets/serpapi.png -------------------------------------------------------------------------------- /web/app/components/tools/add-tool-modal/D.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/tools/add-tool-modal/D.png -------------------------------------------------------------------------------- /web/public/logo/logo-embedded-chat-avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/logo/logo-embedded-chat-avatar.png -------------------------------------------------------------------------------- /web/public/logo/logo-embedded-chat-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/logo/logo-embedded-chat-header.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Chatflow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Chatflow@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Chatflow@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Chatflow@3x.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/TextGenerator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/TextGenerator.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Workflow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Workflow@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/Workflow@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/Workflow@3x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Chatbot@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Chatbot@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Chatbot@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Chatbot@3x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Chatflow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Chatflow@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Chatflow@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Chatflow@3x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Workflow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Workflow@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/Workflow@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/Workflow@3x.png -------------------------------------------------------------------------------- /api/configs/remote_settings_sources/enums.py: -------------------------------------------------------------------------------- 1 | from enum import StrEnum 2 | 3 | 4 | class RemoteSettingsSourceName(StrEnum): 5 | APOLLO = "apollo" 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/tts/_position.yaml: -------------------------------------------------------------------------------- 1 | - speecht5_tts 2 | - ChatTTS 3 | - fish-speech-1.2-sft 4 | - FunAudioLLM-CosyVoice-300M 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/rerank/rerank-1.yaml: -------------------------------------------------------------------------------- 1 | model: rerank-1 2 | model_type: rerank 3 | model_properties: 4 | context_size: 8000 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/rerank/rerank-2.yaml: -------------------------------------------------------------------------------- 1 | model: rerank-2 2 | model_type: rerank 3 | model_properties: 4 | context_size: 16000 5 | -------------------------------------------------------------------------------- /api/core/workflow/constants.py: -------------------------------------------------------------------------------- 1 | SYSTEM_VARIABLE_NODE_ID = "sys" 2 | ENVIRONMENT_VARIABLE_NODE_ID = "env" 3 | CONVERSATION_VARIABLE_NODE_ID = "conversation" 4 | -------------------------------------------------------------------------------- /api/extensions/ext_database.py: -------------------------------------------------------------------------------- 1 | from dify_app import DifyApp 2 | from models import db 3 | 4 | 5 | def init_app(app: DifyApp): 6 | db.init_app(app) 7 | -------------------------------------------------------------------------------- /api/services/auth/auth_type.py: -------------------------------------------------------------------------------- 1 | from enum import StrEnum 2 | 3 | 4 | class AuthType(StrEnum): 5 | FIRECRAWL = "firecrawl" 6 | JINA = "jinareader" 7 | -------------------------------------------------------------------------------- /api/services/errors/app.py: -------------------------------------------------------------------------------- 1 | class MoreLikeThisDisabledError(Exception): 2 | pass 3 | 4 | 5 | class WorkflowHashNotEqualError(Exception): 6 | pass 7 | -------------------------------------------------------------------------------- /web/public/screenshots/light/TextGenerator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/TextGenerator.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/rerank/rerank-v3.5.yaml: -------------------------------------------------------------------------------- 1 | model: rerank-v3.5 2 | model_type: rerank 3 | model_properties: 4 | context_size: 5120 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/rerank/gte-rerank.yaml: -------------------------------------------------------------------------------- 1 | model: gte-rerank 2 | model_type: rerank 3 | model_properties: 4 | context_size: 4000 5 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/end/__init__.py: -------------------------------------------------------------------------------- 1 | from .end_node import EndNode 2 | from .entities import EndStreamParam 3 | 4 | __all__ = ["EndNode", "EndStreamParam"] 5 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/template_transform/__init__.py: -------------------------------------------------------------------------------- 1 | from .template_transform_node import TemplateTransformNode 2 | 3 | __all__ = ["TemplateTransformNode"] 4 | -------------------------------------------------------------------------------- /api/events/message_event.py: -------------------------------------------------------------------------------- 1 | from blinker import signal 2 | 3 | # sender: message, kwargs: conversation 4 | message_was_created = signal("message-was-created") 5 | -------------------------------------------------------------------------------- /api/services/errors/completion.py: -------------------------------------------------------------------------------- 1 | from services.errors.base import BaseServiceError 2 | 3 | 4 | class CompletionStoppedError(BaseServiceError): 5 | pass 6 | -------------------------------------------------------------------------------- /api/services/errors/document.py: -------------------------------------------------------------------------------- 1 | from services.errors.base import BaseServiceError 2 | 3 | 4 | class DocumentIndexingError(BaseServiceError): 5 | pass 6 | -------------------------------------------------------------------------------- /api/services/errors/index.py: -------------------------------------------------------------------------------- 1 | from services.errors.base import BaseServiceError 2 | 3 | 4 | class IndexNotInitializedError(BaseServiceError): 5 | pass 6 | -------------------------------------------------------------------------------- /web/app/components/base/features/new-feature-panel/annotation-reply/type.ts: -------------------------------------------------------------------------------- 1 | export enum PageType { 2 | log = 'log', 3 | annotation = 'annotation', 4 | } 5 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/line/users/index.ts: -------------------------------------------------------------------------------- 1 | export { default as User01 } from './User01' 2 | export { default as Users01 } from './Users01' 3 | -------------------------------------------------------------------------------- /web/app/components/base/tag-management/constant.ts: -------------------------------------------------------------------------------- 1 | export type Tag = { 2 | id: string 3 | name: string 4 | type: string 5 | binding_count: number 6 | } 7 | -------------------------------------------------------------------------------- /web/app/components/datasets/create/assets/jina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/datasets/create/assets/jina.png -------------------------------------------------------------------------------- /web/app/components/tools/add-tool-modal/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/tools/add-tool-modal/empty.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/TextGenerator@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/TextGenerator@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/dark/TextGenerator@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/dark/TextGenerator@3x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/TextGenerator@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/TextGenerator@2x.png -------------------------------------------------------------------------------- /web/public/screenshots/light/TextGenerator@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/screenshots/light/TextGenerator@3x.png -------------------------------------------------------------------------------- /api/.dockerignore: -------------------------------------------------------------------------------- 1 | .env 2 | *.env.* 3 | 4 | storage/privkeys/* 5 | 6 | # Logs 7 | logs 8 | *.log* 9 | 10 | # jetbrains 11 | .idea 12 | 13 | # venv 14 | .venv -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/leptonai/llm/_position.yaml: -------------------------------------------------------------------------------- 1 | - gemma-7b 2 | - mistral-7b 3 | - mixtral-8x7b 4 | - llama2-7b 5 | - llama2-13b 6 | - llama3-70b 7 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/rerank/rerank-lite-1.yaml: -------------------------------------------------------------------------------- 1 | model: rerank-lite-1 2 | model_type: rerank 3 | model_properties: 4 | context_size: 4000 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/rerank/rerank-lite-2.yaml: -------------------------------------------------------------------------------- 1 | model: rerank-lite-2 2 | model_type: rerank 3 | model_properties: 4 | context_size: 8000 5 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/knowledge_retrieval/__init__.py: -------------------------------------------------------------------------------- 1 | from .knowledge_retrieval_node import KnowledgeRetrievalNode 2 | 3 | __all__ = ["KnowledgeRetrievalNode"] 4 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/parameter_extractor/__init__.py: -------------------------------------------------------------------------------- 1 | from .parameter_extractor_node import ParameterExtractorNode 2 | 3 | __all__ = ["ParameterExtractorNode"] 4 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/variable_aggregator/__init__.py: -------------------------------------------------------------------------------- 1 | from .variable_aggregator_node import VariableAggregatorNode 2 | 3 | __all__ = ["VariableAggregatorNode"] 4 | -------------------------------------------------------------------------------- /api/extensions/ext_import_modules.py: -------------------------------------------------------------------------------- 1 | from dify_app import DifyApp 2 | 3 | 4 | def init_app(app: DifyApp): 5 | from events import event_handlers # noqa: F401 6 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/line/mapsAndTravel/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Globe01 } from './Globe01' 2 | export { default as Route } from './Route' 3 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/other/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Generator } from './Generator' 2 | export { default as ReplayLine } from './ReplayLine' 3 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/solid/mapsAndTravel/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Globe06 } from './Globe06' 2 | export { default as Route } from './Route' 3 | -------------------------------------------------------------------------------- /web/app/components/header/account-setting/data-source-page/panel/types.ts: -------------------------------------------------------------------------------- 1 | export enum DataSourceType { 2 | notion = 'notion', 3 | website = 'website', 4 | } 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/__base/audio.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/__base/audio.mp3 -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/fishaudio/tts/tts.yaml: -------------------------------------------------------------------------------- 1 | model: tts-default 2 | model_type: tts 3 | model_properties: 4 | word_limit: 1000 5 | audio_type: 'mp3' 6 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/aippt/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/aippt/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/chart/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/chart/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/dalle/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/dalle/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/onebot/_assets/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/onebot/_assets/icon.ico -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/tavily/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/tavily/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/vanna/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/vanna/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/wecom/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/wecom/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/yahoo/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/yahoo/_assets/icon.png -------------------------------------------------------------------------------- /api/core/workflow/nodes/variable_assigner/common/exc.py: -------------------------------------------------------------------------------- 1 | class VariableOperatorNodeError(ValueError): 2 | """Base error type, don't use directly.""" 3 | 4 | pass 5 | -------------------------------------------------------------------------------- /api/events/event_handlers/document_index_event.py: -------------------------------------------------------------------------------- 1 | from blinker import signal 2 | 3 | # sender: document 4 | document_index_created = signal("document-index-created") 5 | -------------------------------------------------------------------------------- /api/services/errors/app_model_config.py: -------------------------------------------------------------------------------- 1 | from services.errors.base import BaseServiceError 2 | 3 | 4 | class AppModelConfigBrokenError(BaseServiceError): 5 | pass 6 | -------------------------------------------------------------------------------- /web/app/components/base/chat/constants.ts: -------------------------------------------------------------------------------- 1 | export const CONVERSATION_ID_INFO = 'conversationIdInfo' 2 | export const UUID_NIL = '00000000-0000-0000-0000-000000000000' 3 | -------------------------------------------------------------------------------- /web/app/components/base/icons/assets/image/llm/wxyy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/base/icons/assets/image/llm/wxyy.png -------------------------------------------------------------------------------- /web/app/components/header/account-about/index.module.css: -------------------------------------------------------------------------------- 1 | .modal { 2 | max-width: 480px !important; 3 | width: 480px !important; 4 | padding: 24px 32px !important; 5 | } -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/bedrock/rerank/amazon.rerank-v1.yaml: -------------------------------------------------------------------------------- 1 | model: amazon.rerank-v1:0 2 | model_type: rerank 3 | model_properties: 4 | context_size: 5120 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/rerank/rerank-english-v2.0.yaml: -------------------------------------------------------------------------------- 1 | model: rerank-english-v2.0 2 | model_type: rerank 3 | model_properties: 4 | context_size: 5120 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/rerank/rerank-english-v3.0.yaml: -------------------------------------------------------------------------------- 1 | model: rerank-english-v3.0 2 | model_type: rerank 3 | model_properties: 4 | context_size: 5120 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/rerank/bge-reranker-v2-m3.yaml: -------------------------------------------------------------------------------- 1 | model: bge-reranker-v2-m3 2 | model_type: rerank 3 | model_properties: 4 | context_size: 1024 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/jina/rerank/jina-colbert-v1-en.yaml: -------------------------------------------------------------------------------- 1 | model: jina-colbert-v1-en 2 | model_type: rerank 3 | model_properties: 4 | context_size: 8192 5 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/cogview/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/cogview/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/comfyui/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/comfyui/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/novitaai/_assets/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/novitaai/_assets/icon.ico -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/stepfun/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/stepfun/_assets/icon.png -------------------------------------------------------------------------------- /web/app/components/base/icons/assets/image/llm/tongyi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/base/icons/assets/image/llm/tongyi.png -------------------------------------------------------------------------------- /web/utils/timezone.ts: -------------------------------------------------------------------------------- 1 | import tz from './timezone.json' 2 | 3 | type Item = { 4 | value: number | string 5 | name: string 6 | } 7 | export const timezones: Item[] = tz 8 | -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image-1.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image-2.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image-3.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image-1.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image-2.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image-3.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image.png -------------------------------------------------------------------------------- /api/core/model_runtime/errors/validate.py: -------------------------------------------------------------------------------- 1 | class CredentialsValidateFailedError(ValueError): 2 | """ 3 | Credentials validate failed error 4 | """ 5 | 6 | pass 7 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/bedrock/rerank/cohere.rerank-v3-5.yaml: -------------------------------------------------------------------------------- 1 | model: cohere.rerank-v3-5:0 2 | model_type: rerank 3 | model_properties: 4 | context_size: 5120 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/perfxcloud/text_embedding/BAAI-bge-m3.yaml: -------------------------------------------------------------------------------- 1 | model: BAAI/bge-m3 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 32768 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/perfxcloud/text_embedding/_position.yaml: -------------------------------------------------------------------------------- 1 | - gte-Qwen2-7B-instruct 2 | - BAAI/bge-large-en-v1.5 3 | - BAAI/bge-large-zh-v1.5 4 | - BAAI/bge-m3 5 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/azuredalle/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/azuredalle/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/feishu_base/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/feishu_base/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/feishu_task/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/feishu_task/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/feishu_wiki/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/feishu_wiki/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/lark_base/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/lark_base/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/lark_task/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/lark_task/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/lark_wiki/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/lark_wiki/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/slidespeak/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/slidespeak/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/vectorizer/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/vectorizer/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/xinference/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/xinference/_assets/icon.png -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/assets/audio.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/tests/integration_tests/model_runtime/assets/audio.mp3 -------------------------------------------------------------------------------- /web/app/components/base/icons/assets/image/llm/minimax.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/base/icons/assets/image/llm/minimax.png -------------------------------------------------------------------------------- /web/app/components/base/icons/assets/image/llm/wxyy-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/base/icons/assets/image/llm/wxyy-text.png -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/solid/FinanceAndECommerce/index.ts: -------------------------------------------------------------------------------- 1 | export { default as GoldCoin } from './GoldCoin' 2 | export { default as Scales02 } from './Scales02' 3 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/solid/arrows/index.ts: -------------------------------------------------------------------------------- 1 | export { default as ChevronDown } from './ChevronDown' 2 | export { default as HighPriority } from './HighPriority' 3 | -------------------------------------------------------------------------------- /web/app/components/base/tag-management/style.module.css: -------------------------------------------------------------------------------- 1 | .bg { 2 | background: linear-gradient(180deg, rgba(247, 144, 9, 0.05) 0%, rgba(247, 144, 9, 0.00) 24.41%), #F9FAFB; 3 | } 4 | -------------------------------------------------------------------------------- /web/public/vs/base/browser/ui/codicons/codicon/codicon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/public/vs/base/browser/ui/codicons/codicon/codicon.ttf -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/rerank/rerank-multilingual-v2.0.yaml: -------------------------------------------------------------------------------- 1 | model: rerank-multilingual-v2.0 2 | model_type: rerank 3 | model_properties: 4 | context_size: 5120 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/rerank/rerank-multilingual-v3.0.yaml: -------------------------------------------------------------------------------- 1 | model: rerank-multilingual-v3.0 2 | model_type: rerank 3 | model_properties: 4 | context_size: 5120 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/jina/rerank/jina-reranker-v1-base-en.yaml: -------------------------------------------------------------------------------- 1 | model: jina-reranker-v1-base-en 2 | model_type: rerank 3 | model_properties: 4 | context_size: 8192 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/jina/rerank/jina-reranker-v1-tiny-en.yaml: -------------------------------------------------------------------------------- 1 | model: jina-reranker-v1-tiny-en 2 | model_type: rerank 3 | model_properties: 4 | context_size: 8192 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/jina/rerank/jina-reranker-v1-turbo-en.yaml: -------------------------------------------------------------------------------- 1 | model: jina-reranker-v1-turbo-en 2 | model_type: rerank 3 | model_properties: 4 | context_size: 8192 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/mixedbread/rerank/mxbai-rerank-large-v1-en.yaml: -------------------------------------------------------------------------------- 1 | model: mxbai-rerank-large-v1 2 | model_type: rerank 3 | model_properties: 4 | context_size: 512 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nvidia/rerank/rerank-qa-mistral-4b.yaml: -------------------------------------------------------------------------------- 1 | model: nv-rerank-qa-mistral-4b:1 2 | model_type: rerank 3 | model_properties: 4 | context_size: 512 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/rerank/bge-reranker-v2-m3.yaml: -------------------------------------------------------------------------------- 1 | model: BAAI/bge-reranker-v2-m3 2 | model_type: rerank 3 | model_properties: 4 | context_size: 8192 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/zhipuai/text_embedding/text_embedding.yaml: -------------------------------------------------------------------------------- 1 | model: text_embedding 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 512 5 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/lark_calendar/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/lark_calendar/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/rapidapi/_assets/rapidapi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/rapidapi/_assets/rapidapi.png -------------------------------------------------------------------------------- /web/app/components/app/switch-app-modal/style.module.css: -------------------------------------------------------------------------------- 1 | .bg { 2 | background: linear-gradient(180deg, rgba(247, 144, 9, 0.05) 0%, rgba(247, 144, 9, 0.00) 24.41%), #F9FAFB; 3 | } 4 | -------------------------------------------------------------------------------- /web/app/components/base/icons/assets/image/llm/tongyi-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/base/icons/assets/image/llm/tongyi-text.png -------------------------------------------------------------------------------- /web/app/components/base/notion-page-selector/base.module.css: -------------------------------------------------------------------------------- 1 | .setting-icon { 2 | background: url(./assets/setting.svg) center center no-repeat; 3 | background-size: 14px 14px; 4 | } -------------------------------------------------------------------------------- /web/app/components/custom/custom-web-app-brand/style.module.css: -------------------------------------------------------------------------------- 1 | .mask { 2 | background: linear-gradient(273deg, rgba(255, 255, 255, 0.00) 51.75%, rgba(255, 255, 255, 0.80) 115.32%); 3 | } -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/code/utils.ts: -------------------------------------------------------------------------------- 1 | import type { CodeNodeType } from './types' 2 | 3 | export const checkNodeValid = (payload: CodeNodeType) => { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/end/utils.ts: -------------------------------------------------------------------------------- 1 | import type { EndNodeType } from './types' 2 | 3 | export const checkNodeValid = (payload: EndNodeType) => { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/llm/utils.ts: -------------------------------------------------------------------------------- 1 | import type { LLMNodeType } from './types' 2 | 3 | export const checkNodeValid = (payload: LLMNodeType) => { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/tool/utils.ts: -------------------------------------------------------------------------------- 1 | import type { ToolNodeType } from './types' 2 | 3 | export const checkNodeValid = (payload: ToolNodeType) => { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /api/constants/tts_auto_play_timeout.py: -------------------------------------------------------------------------------- 1 | TTS_AUTO_PLAY_TIMEOUT = 5 2 | 3 | # sleep 20 ms ( 40ms => 1280 byte audio file,20ms => 640 byte audio file) 4 | TTS_AUTO_PLAY_YIELD_CPU_TIME = 0.02 5 | -------------------------------------------------------------------------------- /api/core/rag/rerank/rerank_type.py: -------------------------------------------------------------------------------- 1 | from enum import StrEnum 2 | 3 | 4 | class RerankMode(StrEnum): 5 | RERANKING_MODEL = "reranking_model" 6 | WEIGHTED_SCORE = "weighted_score" 7 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/baidu_translate/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/baidu_translate/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/feishu_calendar/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/feishu_calendar/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/lark_spreadsheet/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/lark_spreadsheet/_assets/icon.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/stablediffusion/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/stablediffusion/_assets/icon.png -------------------------------------------------------------------------------- /api/extensions/ext_warnings.py: -------------------------------------------------------------------------------- 1 | from dify_app import DifyApp 2 | 3 | 4 | def init_app(app: DifyApp): 5 | import warnings 6 | 7 | warnings.simplefilter("ignore", ResourceWarning) 8 | -------------------------------------------------------------------------------- /web/app/components/app/configuration/ctrl-btn-group/style.module.css: -------------------------------------------------------------------------------- 1 | .ctrlBtn { 2 | left: -16px; 3 | right: -16px; 4 | bottom: -16px; 5 | border-top: 1px solid #F3F4F6; 6 | } -------------------------------------------------------------------------------- /web/app/components/base/icons/assets/image/llm/minimax-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/base/icons/assets/image/llm/minimax-text.png -------------------------------------------------------------------------------- /web/app/components/base/icons/assets/image/llm/tongyi-text-cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/base/icons/assets/image/llm/tongyi-text-cn.png -------------------------------------------------------------------------------- /web/app/components/base/icons/assets/image/llm/wxyy-text-cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/base/icons/assets/image/llm/wxyy-text-cn.png -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/answer/utils.ts: -------------------------------------------------------------------------------- 1 | import type { AnswerNodeType } from './types' 2 | 3 | export const checkNodeValid = (payload: AnswerNodeType) => { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/iteration-start/types.ts: -------------------------------------------------------------------------------- 1 | import type { CommonNodeType } from '@/app/components/workflow/types' 2 | 3 | export type IterationStartNodeType = CommonNodeType 4 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/start/utils.ts: -------------------------------------------------------------------------------- 1 | import type { StartNodeType } from './types' 2 | 3 | export const checkNodeValid = (payload: StartNodeType) => { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nomic/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/nomic/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nvidia/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/nvidia/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nvidia/text_embedding/embed-qa-4.yaml: -------------------------------------------------------------------------------- 1 | model: NV-Embed-QA 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 512 5 | max_chunks: 1 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/text_embedding/bge-m3.yaml: -------------------------------------------------------------------------------- 1 | model: BAAI/bge-m3 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 8192 5 | max_chunks: 1 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/tongyi/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/_assets/icon_l_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/tongyi/_assets/icon_l_zh.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tongyi/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/tongyi/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/wenxin/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/wenxin/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/wenxin/_assets/icon_l_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/wenxin/_assets/icon_l_zh.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/wenxin/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/wenxin/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/feishu_spreadsheet/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/feishu_spreadsheet/_assets/icon.png -------------------------------------------------------------------------------- /api/core/workflow/nodes/answer/__init__.py: -------------------------------------------------------------------------------- 1 | from .answer_node import AnswerNode 2 | from .entities import AnswerStreamGenerateRoute 3 | 4 | __all__ = ["AnswerNode", "AnswerStreamGenerateRoute"] 5 | -------------------------------------------------------------------------------- /api/extensions/ext_set_secretkey.py: -------------------------------------------------------------------------------- 1 | from configs import dify_config 2 | from dify_app import DifyApp 3 | 4 | 5 | def init_app(app: DifyApp): 6 | app.secret_key = dify_config.SECRET_KEY 7 | -------------------------------------------------------------------------------- /api/tests/integration_tests/model_runtime/localai/test_embedding.py: -------------------------------------------------------------------------------- 1 | """ 2 | LocalAI Embedding Interface is temporarily unavailable due to 3 | we could not find a way to test it for now. 4 | """ 5 | -------------------------------------------------------------------------------- /api/tests/integration_tests/utils/parent_class.py: -------------------------------------------------------------------------------- 1 | class ParentClass: 2 | def __init__(self, name): 3 | self.name = name 4 | 5 | def get_name(self): 6 | return self.name 7 | -------------------------------------------------------------------------------- /sdks/python-client/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | rm -rf build dist *.egg-info 6 | 7 | pip install setuptools wheel twine 8 | python setup.py sdist bdist_wheel 9 | twine upload dist/* -------------------------------------------------------------------------------- /web/app/components/base/icons/assets/image/llm/baichuan-text-cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/web/app/components/base/icons/assets/image/llm/baichuan-text-cn.png -------------------------------------------------------------------------------- /web/app/components/header/account-setting/members-page/operation/index.module.css: -------------------------------------------------------------------------------- 1 | .popup { 2 | box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03); 3 | } -------------------------------------------------------------------------------- /web/app/components/tools/workflow-tool/confirm-modal/style.module.css: -------------------------------------------------------------------------------- 1 | .bg { 2 | background: linear-gradient(180deg, rgba(247, 144, 9, 0.05) 0%, rgba(247, 144, 9, 0.00) 24.41%), #F9FAFB; 3 | } 4 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/_base/components/retry/types.ts: -------------------------------------------------------------------------------- 1 | export type WorkflowRetryConfig = { 2 | max_retries: number 3 | retry_interval: number 4 | retry_enabled: boolean 5 | } 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/__init__.py: -------------------------------------------------------------------------------- 1 | from core.model_runtime.model_providers.model_provider_factory import ModelProviderFactory 2 | 3 | model_provider_factory = ModelProviderFactory() 4 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/cohere/rerank/_position.yaml: -------------------------------------------------------------------------------- 1 | - rerank-english-v2.0 2 | - rerank-english-v3.0 3 | - rerank-multilingual-v2.0 4 | - rerank-multilingual-v3.0 5 | - rerank-v3.5 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gpustack/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/gpustack/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gpustack/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/gpustack/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/hunyuan/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/hunyuan/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/hunyuan/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/hunyuan/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/leptonai/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/leptonai/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/leptonai/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/leptonai/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/minimax/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/minimax/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/minimax/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/minimax/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/mistralai/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/mistralai/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/mistralai/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/mistralai/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/moonshot/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/moonshot/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/moonshot/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/moonshot/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/sagemaker/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/sagemaker/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/sagemaker/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/sagemaker/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/rerank/bce-reranker-base_v1.yaml: -------------------------------------------------------------------------------- 1 | model: netease-youdao/bce-reranker-base_v1 2 | model_type: rerank 3 | model_properties: 4 | context_size: 512 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/stepfun/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/stepfun/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/stepfun/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/stepfun/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/vertex_ai/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/vertex_ai/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/vessl_ai/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/vessl_ai/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/text_embedding/_position.yaml: -------------------------------------------------------------------------------- 1 | - voyage-3 2 | - voyage-3-lite 3 | - voyage-finance-2 4 | - voyage-multilingual-2 5 | - voyage-law-2 6 | - voyage-code-2 7 | -------------------------------------------------------------------------------- /api/fields/tag_fields.py: -------------------------------------------------------------------------------- 1 | from flask_restful import fields # type: ignore 2 | 3 | tag_fields = {"id": fields.String, "name": fields.String, "type": fields.String, "binding_count": fields.String} 4 | -------------------------------------------------------------------------------- /api/services/recommend_app/recommend_app_type.py: -------------------------------------------------------------------------------- 1 | from enum import StrEnum 2 | 3 | 4 | class RecommendAppType(StrEnum): 5 | REMOTE = "remote" 6 | BUILDIN = "builtin" 7 | DATABASE = "db" 8 | -------------------------------------------------------------------------------- /web/app/components/base/notion-page-selector/index.tsx: -------------------------------------------------------------------------------- 1 | export { default as NotionPageSelectorModal } from './notion-page-selector-modal' 2 | export { default as NotionPageSelector } from './base' 3 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/_base/components/retry/style.module.css: -------------------------------------------------------------------------------- 1 | .input::-webkit-inner-spin-button, 2 | .input::-webkit-outer-spin-button { 3 | -webkit-appearance: none; 4 | margin: 0; 5 | } -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/jina/rerank/jina-reranker-v2-base-multilingual.yaml: -------------------------------------------------------------------------------- 1 | model: jina-reranker-v2-base-multilingual 2 | model_type: rerank 3 | model_properties: 4 | context_size: 1024 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/mixedbread/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/mixedbread/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/mixedbread/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/mixedbread/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/nvidia_nim/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/nvidia_nim/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/perfxcloud/text_embedding/BAAI-bge-large-en-v1.5.yaml: -------------------------------------------------------------------------------- 1 | model: BAAI/bge-large-en-v1.5 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 32768 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/perfxcloud/text_embedding/BAAI-bge-large-zh-v1.5.yaml: -------------------------------------------------------------------------------- 1 | model: BAAI/bge-large-zh-v1.5 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 32768 5 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/stepfun/llm/_position.yaml: -------------------------------------------------------------------------------- 1 | - step-1-8k 2 | - step-1-32k 3 | - step-1-128k 4 | - step-1-256k 5 | - step-1-flash 6 | - step-2-16k 7 | - step-1v-8k 8 | - step-1v-32k 9 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/lark_message_and_group/_assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/tools/provider/builtin/lark_message_and_group/_assets/icon.png -------------------------------------------------------------------------------- /web/app/components/datasets/formatted-text/flavours/type.ts: -------------------------------------------------------------------------------- 1 | import type { ComponentProps } from 'react' 2 | 3 | export type SliceProps = T & { 4 | text: string 5 | } & ComponentProps<'span'> 6 | -------------------------------------------------------------------------------- /web/app/components/header/account-setting/model-provider-page/provider-card/index.module.css: -------------------------------------------------------------------------------- 1 | .vender { 2 | background: linear-gradient(131deg, #2250F2 0%, #0EBCF3 100%); 3 | background-clip: text; 4 | } -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image-20231210143654461.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image-20231210143654461.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image-20231210144229650.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image-20231210144229650.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image-20231210144814617.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image-20231210144814617.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image-20231210151548521.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image-20231210151548521.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image-20231210151628992.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image-20231210151628992.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/en_US/images/index/image-20231210165243632.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/en_US/images/index/image-20231210165243632.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_openai/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/azure_openai/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/bedrock/text_embedding/_position.yaml: -------------------------------------------------------------------------------- 1 | - amazon.titan-embed-text-v1 2 | - amazon.titan-embed-text-v2:0 3 | - cohere.embed-english-v3 4 | - cohere.embed-multilingual-v3 5 | -------------------------------------------------------------------------------- /api/core/rag/extractor/entity/datasource_type.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class DatasourceType(Enum): 5 | FILE = "upload_file" 6 | NOTION = "notion_import" 7 | WEBSITE = "website_crawl" 8 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/solid/shapes/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Corner } from './Corner' 2 | export { default as Star04 } from './Star04' 3 | export { default as Star06 } from './Star06' 4 | -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image-20231210143654461.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image-20231210143654461.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image-20231210144229650.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image-20231210144229650.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image-20231210144814617.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image-20231210144814617.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image-20231210151548521.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image-20231210151548521.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image-20231210151628992.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image-20231210151628992.png -------------------------------------------------------------------------------- /api/core/model_runtime/docs/zh_Hans/images/index/image-20231210165243632.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/docs/zh_Hans/images/index/image-20231210165243632.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_ai_studio/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/azure_ai_studio/_assets/icon_l_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/azure_ai_studio/_assets/icon_s_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/azure_ai_studio/_assets/icon_s_en.png -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/hunyuan/text_embedding/hunyuan-text-embedding.yaml: -------------------------------------------------------------------------------- 1 | model: hunyuan-embedding 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 1024 5 | max_chunks: 1 6 | -------------------------------------------------------------------------------- /api/events/tenant_event.py: -------------------------------------------------------------------------------- 1 | from blinker import signal 2 | 3 | # sender: tenant 4 | tenant_was_created = signal("tenant-was-created") 5 | 6 | # sender: tenant 7 | tenant_was_updated = signal("tenant-was-updated") 8 | -------------------------------------------------------------------------------- /api/services/errors/base.py: -------------------------------------------------------------------------------- 1 | from typing import Optional 2 | 3 | 4 | class BaseServiceError(ValueError): 5 | def __init__(self, description: Optional[str] = None): 6 | self.description = description 7 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/public/plugins/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Google } from './Google' 2 | export { default as WebReader } from './WebReader' 3 | export { default as Wikipedia } from './Wikipedia' 4 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/end/types.ts: -------------------------------------------------------------------------------- 1 | import type { CommonNodeType, Variable } from '@/app/components/workflow/types' 2 | 3 | export type EndNodeType = CommonNodeType & { 4 | outputs: Variable[] 5 | } 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/perfxcloud/text_embedding/gte-Qwen2-7B-instruct.yaml: -------------------------------------------------------------------------------- 1 | model: gte-Qwen2-7B-instruct 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 2048 5 | deprecated: true 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/text_embedding/bge-large-en-v1.5.yaml: -------------------------------------------------------------------------------- 1 | model: BAAI/bge-large-en-v1.5 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 512 5 | max_chunks: 1 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/text_embedding/bge-large-zh-v1.5.yaml: -------------------------------------------------------------------------------- 1 | model: BAAI/bge-large-zh-v1.5 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 512 5 | max_chunks: 1 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/volcengine_maas/legacy/volc_sdk/__init__.py: -------------------------------------------------------------------------------- 1 | from .common import ChatRole 2 | from .maas import MaasError, MaasService 3 | 4 | __all__ = ["ChatRole", "MaasError", "MaasService"] 5 | -------------------------------------------------------------------------------- /api/core/workflow/graph_engine/__init__.py: -------------------------------------------------------------------------------- 1 | from .entities import Graph, GraphInitParams, GraphRuntimeState, RuntimeRouteState 2 | 3 | __all__ = ["Graph", "GraphInitParams", "GraphRuntimeState", "RuntimeRouteState"] 4 | -------------------------------------------------------------------------------- /api/libs/infinite_scroll_pagination.py: -------------------------------------------------------------------------------- 1 | class InfiniteScrollPagination: 2 | def __init__(self, data, limit, has_more): 3 | self.data = data 4 | self.limit = limit 5 | self.has_more = has_more 6 | -------------------------------------------------------------------------------- /docker/couchbase-server/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM couchbase/server:latest AS stage_base 2 | # FROM couchbase:latest AS stage_base 3 | COPY init-cbserver.sh /opt/couchbase/init/ 4 | RUN chmod +x /opt/couchbase/init/init-cbserver.sh -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/solid/files/index.ts: -------------------------------------------------------------------------------- 1 | export { default as File05 } from './File05' 2 | export { default as FileSearch02 } from './FileSearch02' 3 | export { default as Folder } from './Folder' 4 | -------------------------------------------------------------------------------- /web/app/components/base/radio/context/index.tsx: -------------------------------------------------------------------------------- 1 | 'use client' 2 | 3 | import { createContext } from 'use-context-selector' 4 | 5 | const RadioGroupContext = createContext(null) 6 | export default RadioGroupContext 7 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/start/types.ts: -------------------------------------------------------------------------------- 1 | import type { CommonNodeType, InputVar } from '@/app/components/workflow/types' 2 | 3 | export type StartNodeType = CommonNodeType & { 4 | variables: InputVar[] 5 | } 6 | -------------------------------------------------------------------------------- /web/global.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'lamejs'; 2 | declare module 'lamejs/src/js/MPEGMode'; 3 | declare module 'lamejs/src/js/Lame'; 4 | declare module 'lamejs/src/js/BitStream'; 5 | declare module 'react-18-input-autosize'; 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/baichuan/text_embedding/baichuan-text-embedding.yaml: -------------------------------------------------------------------------------- 1 | model: baichuan-text-embedding 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 512 5 | max_chunks: 16 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/jina/rerank/_position.yaml: -------------------------------------------------------------------------------- 1 | - jina-reranker-v2-base-multilingual 2 | - jina-reranker-v1-base-en 3 | - jina-reranker-v1-turbo-en 4 | - jina-colbert-v1-en 5 | - jina-reranker-v1-tiny-en 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai/moderation/text-moderation-stable.yaml: -------------------------------------------------------------------------------- 1 | model: text-moderation-stable 2 | model_type: moderation 3 | model_properties: 4 | max_chunks: 32 5 | max_characters_per_chunk: 2000 6 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/document_extractor/__init__.py: -------------------------------------------------------------------------------- 1 | from .entities import DocumentExtractorNodeData 2 | from .node import DocumentExtractorNode 3 | 4 | __all__ = ["DocumentExtractorNode", "DocumentExtractorNodeData"] 5 | -------------------------------------------------------------------------------- /web/app/account/page.tsx: -------------------------------------------------------------------------------- 1 | import AccountPage from './account-page' 2 | 3 | export default function Account() { 4 | return
5 | 6 |
7 | } 8 | -------------------------------------------------------------------------------- /web/app/components/base/prompt-editor/plugins/variable-value-block/utils.ts: -------------------------------------------------------------------------------- 1 | export function getHashtagRegexString(): string { 2 | const hashtag = '\\{\\{[a-zA-Z_][a-zA-Z0-9_]{0,29}\\}\\}' 3 | 4 | return hashtag 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/base/tab-header/style.module.css: -------------------------------------------------------------------------------- 1 | .itemActive::after { 2 | content: ''; 3 | position: absolute; 4 | bottom: -1px; 5 | left: 0; 6 | width: 100%; 7 | height: 2px; 8 | background-color: #155EEF; 9 | } -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/template-transform/utils.ts: -------------------------------------------------------------------------------- 1 | import type { TemplateTransformNodeType } from './types' 2 | 3 | export const checkNodeValid = (payload: TemplateTransformNodeType) => { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/workflow/note-node/note-editor/toolbar/divider.tsx: -------------------------------------------------------------------------------- 1 | const Divider = () => { 2 | return ( 3 |
4 | ) 5 | } 6 | 7 | export default Divider 8 | -------------------------------------------------------------------------------- /.devcontainer/noop.txt: -------------------------------------------------------------------------------- 1 | This file copied into the container along with environment.yml* from the parent 2 | folder. This file is included to prevents the Dockerfile COPY instruction from 3 | failing if no environment.yml is found. -------------------------------------------------------------------------------- /api/core/entities/agent_entities.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class PlanningStrategy(Enum): 5 | ROUTER = "router" 6 | REACT_ROUTER = "react_router" 7 | REACT = "react" 8 | FUNCTION_CALL = "function_call" 9 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/triton_inference_server/_assets/icon_l_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iHunterDev/dify-for-dokploy/main/api/core/model_runtime/model_providers/triton_inference_server/_assets/icon_l_en.png -------------------------------------------------------------------------------- /web/app/components/base/icons/src/public/other/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Icon3Dots } from './Icon3Dots' 2 | export { default as DefaultToolIcon } from './DefaultToolIcon' 3 | export { default as RowStruct } from './RowStruct' 4 | -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/question-classifier/utils.ts: -------------------------------------------------------------------------------- 1 | import type { QuestionClassifierNodeType } from './types' 2 | 3 | export const checkNodeValid = (payload: QuestionClassifierNodeType) => { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/workflow/note-node/note-editor/index.tsx: -------------------------------------------------------------------------------- 1 | export { NoteEditorContextProvider } from './context' 2 | export { default as NoteEditor } from './editor' 3 | export { default as NoteEditorToolbar } from './toolbar' 4 | -------------------------------------------------------------------------------- /web/utils/classnames.ts: -------------------------------------------------------------------------------- 1 | import { twMerge } from 'tailwind-merge' 2 | import cn from 'classnames' 3 | 4 | const classNames = (...cls: cn.ArgumentArray) => { 5 | return twMerge(cn(cls)) 6 | } 7 | 8 | export default classNames 9 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/text_embedding/bce-embedding-base-v1.yaml: -------------------------------------------------------------------------------- 1 | model: netease-youdao/bce-embedding-base_v1 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 512 5 | max_chunks: 1 6 | -------------------------------------------------------------------------------- /api/core/rag/index_processor/constant/index_type.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class IndexType(str, Enum): 5 | PARAGRAPH_INDEX = "text_model" 6 | QA_INDEX = "qa_model" 7 | PARENT_CHILD_INDEX = "hierarchical_model" 8 | -------------------------------------------------------------------------------- /api/core/tools/utils/uuid_utils.py: -------------------------------------------------------------------------------- 1 | import uuid 2 | 3 | 4 | def is_valid_uuid(uuid_str: str) -> bool: 5 | try: 6 | uuid.UUID(uuid_str) 7 | return True 8 | except Exception: 9 | return False 10 | -------------------------------------------------------------------------------- /web/app/(commonLayout)/explore/apps/page.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import AppList from '@/app/components/explore/app-list' 3 | 4 | const Apps = () => { 5 | return 6 | } 7 | 8 | export default React.memo(Apps) 9 | -------------------------------------------------------------------------------- /web/app/components/datasets/api/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | type Props = {} 4 | 5 | const index = (props: Props) => { 6 | return ( 7 |
index
8 | ) 9 | } 10 | 11 | export default index 12 | -------------------------------------------------------------------------------- /api/core/entities/embedding_type.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class EmbeddingInputType(Enum): 5 | """ 6 | Enum for embedding input type. 7 | """ 8 | 9 | DOCUMENT = "document" 10 | QUERY = "query" 11 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/tencent/speech2text/tencent.yaml: -------------------------------------------------------------------------------- 1 | model: tencent 2 | model_type: speech2text 3 | model_properties: 4 | file_upload_limit: 25 5 | supported_file_extensions: flac,mp3,mp4,mpeg,mpga,m4a,ogg,wav,webm 6 | -------------------------------------------------------------------------------- /api/services/errors/dataset.py: -------------------------------------------------------------------------------- 1 | from services.errors.base import BaseServiceError 2 | 3 | 4 | class DatasetNameDuplicateError(BaseServiceError): 5 | pass 6 | 7 | 8 | class DatasetInUseError(BaseServiceError): 9 | pass 10 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/image/llm/Wxyy.module.css: -------------------------------------------------------------------------------- 1 | .wrapper { 2 | display: inline-flex; 3 | background: url(~@/app/components/base/icons/assets/image/llm/wxyy.png) center center no-repeat; 4 | background-size: contain; 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/base/notion-icon/index.module.css: -------------------------------------------------------------------------------- 1 | .default-page-icon { 2 | width: 20px; 3 | height: 20px; 4 | background: url(../notion-page-selector/assets/notion-page.svg) center center no-repeat; 5 | background-size: cover; 6 | } -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/text_embedding/bge-m3.yaml: -------------------------------------------------------------------------------- 1 | model: bge-m3 2 | label: 3 | zh_Hans: bge-m3 4 | en_US: bge-m3 5 | model_type: text-embedding 6 | model_properties: 7 | context_size: 200000 8 | max_chunks: 20 9 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/openai/speech2text/whisper-1.yaml: -------------------------------------------------------------------------------- 1 | model: whisper-1 2 | model_type: speech2text 3 | model_properties: 4 | file_upload_limit: 25 5 | supported_file_extensions: flac,mp3,mp4,mpeg,mpga,m4a,ogg,wav,webm 6 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/base/__init__.py: -------------------------------------------------------------------------------- 1 | from .entities import BaseIterationNodeData, BaseIterationState, BaseNodeData 2 | from .node import BaseNode 3 | 4 | __all__ = ["BaseIterationNodeData", "BaseIterationState", "BaseNode", "BaseNodeData"] 5 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/image/llm/Tongyi.module.css: -------------------------------------------------------------------------------- 1 | .wrapper { 2 | display: inline-flex; 3 | background: url(~@/app/components/base/icons/assets/image/llm/tongyi.png) center center no-repeat; 4 | background-size: contain; 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/vender/line/alertsAndFeedback/index.ts: -------------------------------------------------------------------------------- 1 | export { default as AlertTriangle } from './AlertTriangle' 2 | export { default as ThumbsDown } from './ThumbsDown' 3 | export { default as ThumbsUp } from './ThumbsUp' 4 | -------------------------------------------------------------------------------- /web/app/components/custom/style.module.css: -------------------------------------------------------------------------------- 1 | .textGradient { 2 | background: linear-gradient(92deg, #2250F2 -29.55%, #0EBCF3 75.22%); 3 | -webkit-background-clip: text; 4 | -webkit-text-fill-color: transparent; 5 | background-clip: text; 6 | } -------------------------------------------------------------------------------- /web/app/components/header/account-dropdown/workplace-selector/index.module.css: -------------------------------------------------------------------------------- 1 | .popup { 2 | left: 4px; 3 | transform: translateX(-100%); 4 | box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03); 5 | } -------------------------------------------------------------------------------- /web/app/components/workflow/nodes/answer/types.ts: -------------------------------------------------------------------------------- 1 | import type { CommonNodeType, Variable } from '@/app/components/workflow/types' 2 | 3 | export type AnswerNodeType = CommonNodeType & { 4 | variables: Variable[] 5 | answer: string 6 | } 7 | -------------------------------------------------------------------------------- /web/docker/pm2.json: -------------------------------------------------------------------------------- 1 | { 2 | "apps": [ 3 | { 4 | "name": "dify-web", 5 | "script": "/app/web/server.js", 6 | "cwd": "/app/web", 7 | "exec_mode": "cluster", 8 | "instances": 2 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /.github/linters/.yaml-lint.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | extends: default 4 | 5 | rules: 6 | brackets: 7 | max-spaces-inside: 1 8 | comments-indentation: disable 9 | document-start: disable 10 | line-length: disable 11 | truthy: disable 12 | -------------------------------------------------------------------------------- /api/controllers/files/__init__.py: -------------------------------------------------------------------------------- 1 | from flask import Blueprint 2 | 3 | from libs.external_api import ExternalApi 4 | 5 | bp = Blueprint("files", __name__) 6 | api = ExternalApi(bp) 7 | 8 | 9 | from . import image_preview, tool_files 10 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/speech2text/whisper-base.yaml: -------------------------------------------------------------------------------- 1 | model: whisper-base 2 | model_type: speech2text 3 | model_properties: 4 | file_upload_limit: 1 5 | supported_file_extensions: flac,mp3,mp4,mpeg,mpga,m4a,ogg,wav,webm 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/gitee_ai/speech2text/whisper-large.yaml: -------------------------------------------------------------------------------- 1 | model: whisper-large 2 | model_type: speech2text 3 | model_properties: 4 | file_upload_limit: 1 5 | supported_file_extensions: flac,mp3,mp4,mpeg,mpga,m4a,ogg,wav,webm 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/speech2text/funaudio-sense-voice-small.yaml: -------------------------------------------------------------------------------- 1 | model: FunAudioLLM/SenseVoiceSmall 2 | model_type: speech2text 3 | model_properties: 4 | file_upload_limit: 1 5 | supported_file_extensions: mp3,wav 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/text_embedding/voyage-3.yaml: -------------------------------------------------------------------------------- 1 | model: voyage-3 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 32000 5 | pricing: 6 | input: '0.00006' 7 | unit: '0.001' 8 | currency: USD 9 | -------------------------------------------------------------------------------- /api/core/workflow/callbacks/__init__.py: -------------------------------------------------------------------------------- 1 | from .base_workflow_callback import WorkflowCallback 2 | from .workflow_logging_callback import WorkflowLoggingCallback 3 | 4 | __all__ = [ 5 | "WorkflowCallback", 6 | "WorkflowLoggingCallback", 7 | ] 8 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/question_classifier/__init__.py: -------------------------------------------------------------------------------- 1 | from .entities import QuestionClassifierNodeData 2 | from .question_classifier_node import QuestionClassifierNode 3 | 4 | __all__ = ["QuestionClassifierNode", "QuestionClassifierNodeData"] 5 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/image/llm/Minimax.module.css: -------------------------------------------------------------------------------- 1 | .wrapper { 2 | display: inline-flex; 3 | background: url(~@/app/components/base/icons/assets/image/llm/minimax.png) center center no-repeat; 4 | background-size: contain; 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/image/llm/WxyyText.module.css: -------------------------------------------------------------------------------- 1 | .wrapper { 2 | display: inline-flex; 3 | background: url(~@/app/components/base/icons/assets/image/llm/wxyy-text.png) center center no-repeat; 4 | background-size: contain; 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/datasets/create/website/index.module.css: -------------------------------------------------------------------------------- 1 | .jinaLogo { 2 | @apply w-4 h-4 bg-center bg-no-repeat inline-block; 3 | background-color: #F5FAFF; 4 | background-image: url(../assets/jina.png); 5 | background-size: 16px; 6 | } 7 | -------------------------------------------------------------------------------- /web/app/components/header/account-setting/index.module.css: -------------------------------------------------------------------------------- 1 | .modal { 2 | max-width: 1024px !important; 3 | border-radius: 12px !important; 4 | margin-top: 60px; 5 | margin-bottom: 60px; 6 | padding: 0 !important; 7 | overflow-y: auto; 8 | } -------------------------------------------------------------------------------- /web/app/components/tools/labels/constant.ts: -------------------------------------------------------------------------------- 1 | import type { TypeWithI18N } from '@/app/components/header/account-setting/model-provider-page/declarations' 2 | export type Label = { 3 | name: string 4 | icon: string 5 | label: TypeWithI18N 6 | } 7 | -------------------------------------------------------------------------------- /api/controllers/files/error.py: -------------------------------------------------------------------------------- 1 | from libs.exception import BaseHTTPException 2 | 3 | 4 | class UnsupportedFileTypeError(BaseHTTPException): 5 | error_code = "unsupported_file_type" 6 | description = "File type not allowed." 7 | code = 415 8 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/groq/speech2text/whisper-large-v3.yaml: -------------------------------------------------------------------------------- 1 | model: whisper-large-v3 2 | model_type: speech2text 3 | model_properties: 4 | file_upload_limit: 1 5 | supported_file_extensions: flac,mp3,mp4,mpeg,mpga,m4a,ogg,wav,webm 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/siliconflow/speech2text/sense-voice-small.yaml: -------------------------------------------------------------------------------- 1 | model: iic/SenseVoiceSmall 2 | model_type: speech2text 3 | model_properties: 4 | file_upload_limit: 1 5 | supported_file_extensions: mp3,wav 6 | deprecated: true 7 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/text_embedding/voyage-law-2.yaml: -------------------------------------------------------------------------------- 1 | model: voyage-law-2 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 16000 5 | pricing: 6 | input: '0.00012' 7 | unit: '0.001' 8 | currency: USD 9 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/wenxin/rerank/bce-reranker-base_v1.yaml: -------------------------------------------------------------------------------- 1 | model: bce-reranker-base_v1 2 | model_type: rerank 3 | model_properties: 4 | context_size: 4096 5 | pricing: 6 | input: '0.0005' 7 | unit: '0.001' 8 | currency: RMB 9 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/yi/llm/_position.yaml: -------------------------------------------------------------------------------- 1 | - yi-34b-chat-0205 2 | - yi-34b-chat-200k 3 | - yi-vl-plus 4 | - yi-large 5 | - yi-medium 6 | - yi-vision 7 | - yi-medium-200k 8 | - yi-spark 9 | - yi-large-turbo 10 | - yi-lightning 11 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/zhipuai/text_embedding/embedding-2.yaml: -------------------------------------------------------------------------------- 1 | model: embedding-2 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 8192 5 | pricing: 6 | input: '0.0005' 7 | unit: '0.001' 8 | currency: RMB 9 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/zhipuai/text_embedding/embedding-3.yaml: -------------------------------------------------------------------------------- 1 | model: embedding-3 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 8192 5 | pricing: 6 | input: '0.0005' 7 | unit: '0.001' 8 | currency: RMB 9 | -------------------------------------------------------------------------------- /api/core/tools/provider/builtin/firecrawl/_assets/icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 🔥 3 | -------------------------------------------------------------------------------- /api/core/workflow/nodes/document_extractor/entities.py: -------------------------------------------------------------------------------- 1 | from collections.abc import Sequence 2 | 3 | from core.workflow.nodes.base import BaseNodeData 4 | 5 | 6 | class DocumentExtractorNodeData(BaseNodeData): 7 | variable_selector: Sequence[str] 8 | -------------------------------------------------------------------------------- /api/extensions/ext_migrate.py: -------------------------------------------------------------------------------- 1 | from dify_app import DifyApp 2 | 3 | 4 | def init_app(app: DifyApp): 5 | import flask_migrate # type: ignore 6 | 7 | from extensions.ext_database import db 8 | 9 | flask_migrate.Migrate(app, db) 10 | -------------------------------------------------------------------------------- /api/services/errors/workspace.py: -------------------------------------------------------------------------------- 1 | from services.errors.base import BaseServiceError 2 | 3 | 4 | class WorkSpaceNotAllowedCreateError(BaseServiceError): 5 | pass 6 | 7 | 8 | class WorkSpaceNotFoundError(BaseServiceError): 9 | pass 10 | -------------------------------------------------------------------------------- /web/app/(commonLayout)/app/(appDetailLayout)/[appId]/style.module.css: -------------------------------------------------------------------------------- 1 | .app { 2 | flex-grow: 1; 3 | height: 0; 4 | border-radius: 16px 16px 0px 0px; 5 | box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05), 0px 0px 2px -1px rgba(0, 0, 0, 0.03); 6 | } -------------------------------------------------------------------------------- /web/app/components/base/icons/src/image/llm/MinimaxText.module.css: -------------------------------------------------------------------------------- 1 | .wrapper { 2 | display: inline-flex; 3 | background: url(~@/app/components/base/icons/assets/image/llm/minimax-text.png) center center no-repeat; 4 | background-size: contain; 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/image/llm/TongyiText.module.css: -------------------------------------------------------------------------------- 1 | .wrapper { 2 | display: inline-flex; 3 | background: url(~@/app/components/base/icons/assets/image/llm/tongyi-text.png) center center no-repeat; 4 | background-size: contain; 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/base/icons/src/image/llm/WxyyTextCn.module.css: -------------------------------------------------------------------------------- 1 | .wrapper { 2 | display: inline-flex; 3 | background: url(~@/app/components/base/icons/assets/image/llm/wxyy-text-cn.png) center center no-repeat; 4 | background-size: contain; 5 | } 6 | -------------------------------------------------------------------------------- /web/app/components/base/modal/index.css: -------------------------------------------------------------------------------- 1 | .modal-dialog { 2 | @apply relative z-50; 3 | } 4 | 5 | .modal-panel { 6 | @apply w-full max-w-[480px] transform rounded-2xl bg-components-panel-bg p-6 text-left align-middle shadow-xl transition-all; 7 | } 8 | -------------------------------------------------------------------------------- /api/controllers/inner_api/__init__.py: -------------------------------------------------------------------------------- 1 | from flask import Blueprint 2 | 3 | from libs.external_api import ExternalApi 4 | 5 | bp = Blueprint("inner_api", __name__, url_prefix="/inner/api") 6 | api = ExternalApi(bp) 7 | 8 | from .workspace import workspace 9 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/oci/text_embedding/_position.yaml: -------------------------------------------------------------------------------- 1 | - cohere.embed-english-light-v2.0 2 | - cohere.embed-english-light-v3.0 3 | - cohere.embed-english-v3.0 4 | - cohere.embed-multilingual-light-v3.0 5 | - cohere.embed-multilingual-v3.0 6 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/spark/llm/_position.yaml: -------------------------------------------------------------------------------- 1 | - spark-max-32k 2 | - spark-4.0-ultra 3 | - spark-max 4 | - spark-pro-128k 5 | - spark-pro 6 | - spark-lite 7 | - spark-4 8 | - spark-3.5 9 | - spark-3 10 | - spark-1.5 11 | - spark-2 12 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/text_embedding/voyage-3-lite.yaml: -------------------------------------------------------------------------------- 1 | model: voyage-3-lite 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 32000 5 | pricing: 6 | input: '0.00002' 7 | unit: '0.001' 8 | currency: USD 9 | -------------------------------------------------------------------------------- /api/core/model_runtime/model_providers/voyage/text_embedding/voyage-code-2.yaml: -------------------------------------------------------------------------------- 1 | model: voyage-code-2 2 | model_type: text-embedding 3 | model_properties: 4 | context_size: 16000 5 | pricing: 6 | input: '0.00012' 7 | unit: '0.001' 8 | currency: USD 9 | --------------------------------------------------------------------------------