Class GenAiLogVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
[AttTable("GenAiLog", 20240418)]
[AttTableProducts(new Products[] { Products.GenAIPack })]
[AttTableOrderBy("highlightedAnswer, createdDate, createdHour", "D,D,D")]
[AttTableVOInfo(typeof(GenAiLogAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.RequiresAdminAccess, TableFlags.NotSaveLog })]
public class GenAiLogVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
GenAiLogVO
Properties
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
aiModel
This field allows choosing the GPT model
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public GenAiApi.AiModelEnum aiModel { get; set; }
Property Value
aiResponseSize
This field identifies the temperature maded on the question
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public GenAiApi.AiResponseSizeEnum aiResponseSize { get; set; }
Property Value
aiTemperature
This field identifies the temperature maded on the question
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public GenAiApi.AiTemperatureEnum aiTemperature { get; set; }
Property Value
balance
[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int balance { get; set; }
Property Value
contextGenAI
This field identifies the context maded
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string contextGenAI { get; set; }
Property Value
createdDate
This field identifies the date when was created
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
[AttLogInfo(2)]
public DateTime createdDate { get; set; }
Property Value
createdHour
This field identifies the hour when was created
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string createdHour { get; set; }
Property Value
entity
This field identifies the entity where the GenAI was called
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string entity { get; set; }
Property Value
entityName
[AttVirtualField]
[AttLocale(typeof(GenAiLogAttInfo), new string[] { "[GenAiLog].[entity]" })]
[AttList]
[AttLogInfo(1)]
public string entityName { get; set; }
Property Value
entityStamp
This field identifies the record stamp where the GenAI was called
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string entityStamp { get; set; }
Property Value
extraEntity
This field identifies the report was executed(fusql/mapdefcab)
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string extraEntity { get; set; }
Property Value
extraStamp
This field identifies the report stamp was executed(fusql/mapdefcab)
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string extraStamp { get; set; }
Property Value
genAiEntityType
This field identifies if the log was create on Reporting panel(Analyses/Listing) or in MainForm
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public GenAiApi.GenAiEntityTypeEnum genAiEntityType { get; set; }
Property Value
genailogstamp
This field uniquely identifies the record (primary key by default)
[AttLenght(25)]
public string genailogstamp { get; set; }
Property Value
highlightedAnswer
This field identifies if the obtained answer is highlighted (comes first in the list of previously answered questions)
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool highlightedAnswer { get; set; }
Property Value
question
This field identifies the question maded
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string question { get; set; }
Property Value
response
This field identifies the response from GenAI
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string response { get; set; }
Property Value
responseId
This field identifies the id from response
[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string responseId { get; set; }
Property Value
username
This field identifies the user name
[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
[AttLogInfo(0)]
public string username { get; set; }
Property Value
usstamp
This field identifies the user stamp
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string usstamp { get; set; }
Property Value
words
[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int words { get; set; }
Property Value
Methods
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |