27 lines
815 B
C#
27 lines
815 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
public class OpenAIResponse
|
|
{
|
|
public bool IsChart { get; set; } = false;
|
|
public string ChartType { get; set; } = string.Empty;
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Sql { get; set; } = string.Empty;
|
|
public string Message { get; set; } = string.Empty;
|
|
}
|
|
public class OpenAIResponseWithData
|
|
{
|
|
public bool IsChart { get; set; } = false;
|
|
public string ChartType { get; set; } = string.Empty;
|
|
public string Title { get; set; } = string.Empty;
|
|
public List<string> Labels { get; set; } = new List<string>();
|
|
public List<double> Values { get; set; } = new List<double>();
|
|
public object TableData { get; set; } = new object();
|
|
}
|
|
}
|