31 lines
873 B
C#
31 lines
873 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using xModels.Base;
|
|
|
|
namespace xAiApi.AI.Models.Dtos
|
|
{
|
|
/// <summary>
|
|
/// Ai Ask Request Data Transfer Object ...
|
|
/// </summary>
|
|
public class XAiAskRequestDto : XBaseDto
|
|
{
|
|
/// <summary>
|
|
/// Provided Prompt for Ask ...
|
|
/// </summary>
|
|
[FromQuery]
|
|
public string Prompt { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ai Selected Project Id, Optional ...
|
|
/// if null, Use Default Project for Authenticated User ...
|
|
/// </summary>
|
|
[FromQuery]
|
|
public string ProjectId { get; set; } = null;
|
|
|
|
/// <summary>
|
|
/// Ai Selected Conversation of Project, Optional ...
|
|
/// if null, Create new Conversation in Selected Project ...
|
|
/// </summary>
|
|
[FromQuery]
|
|
public string ConversationId { get; set; } = null;
|
|
}
|
|
} |