You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/api/services/entities/knowledge_entities/rag_pipeline_entities.py

17 lines
322 B
Python

from typing import Optional
from pydantic import BaseModel
class IconInfo(BaseModel):
icon: str
icon_background: Optional[str] = None
icon_type: Optional[str] = None
icon_url: Optional[str] = None
class PipelineTemplateInfoEntity(BaseModel):
name: str
description: str
icon_info: IconInfo