Spaces:
Running
Running
Download FlowAPI.Application/DTOs/AI/AIDtos.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 1.32 kB
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/DTOs/AI/AIDtos.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/DTOs/AI/AIDtos.cs
-
curl -L -o AIDtos.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/DTOs/AI/AIDtos.cs
1.32 kB
| using FlowAPI.Application.DTOs.TaskNode; | |
| using FlowAPI.Application.DTOs.Edge; | |
| using FlowAPI.Application.DTOs.Graph; | |
| namespace FlowAPI.Application.DTOs.AI | |
| { | |
| public class GenerateAlternativeRequestDto | |
| { | |
| public Guid GraphId { get; set; } | |
| public Guid FailedNodeId { get; set; } | |
| } | |
| public class AIPathResponseDto | |
| { | |
| public List<TaskNodeResponseDto> SuggestedNodes { get; set; } = new(); | |
| public List<EdgeResponseDto> SuggestedEdges { get; set; } = new(); | |
| } | |
| public class GenerateGoalGraphRequestDto | |
| { | |
| public Guid UserId { get; set; } | |
| public string Goal { get; set; } = string.Empty; | |
| } | |
| public class AIChatMessageDto | |
| { | |
| public string Role { get; set; } = string.Empty; // "user" or "model" | |
| public string Text { get; set; } = string.Empty; | |
| } | |
| public class AICanvasAssistRequestDto | |
| { | |
| public Guid GraphId { get; set; } | |
| public string UserPrompt { get; set; } = string.Empty; | |
| public List<AIChatMessageDto> History { get; set; } = new(); | |
| } | |
| public class AICanvasAssistResponseDto | |
| { | |
| public string Explanation { get; set; } = string.Empty; | |
| public List<NodeDto> NewNodes { get; set; } = new(); | |
| public List<EdgeDto> NewEdges { get; set; } = new(); | |
| } | |
| } | |