Interface IST_AIChatConversation
Assembly: STAIHelper.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("E80EA825-82D3-4055-B570-2D4A34251A85")]
public interface IST_AIChatConversation
Properties
Messages[int]
Declaration
IST_AIChatMessage Messages[int index] { get; }
Parameters
| Type |
Name |
Description |
| int |
index |
|
Property Value
MessagesCount
Declaration
int MessagesCount { get; }
Property Value
MostResentAPIResult
Declaration
IST_AIChatResult MostResentAPIResult { get; }
Property Value
Methods
AppendExampleChatbotOutput(string)
Declaration
void AppendExampleChatbotOutput(string Content)
Parameters
| Type |
Name |
Description |
| string |
Content |
|
AppendMessage(TChatMessageRole, string)
Declaration
void AppendMessage(TChatMessageRole Role, string Content)
Parameters
AppendSystemMessage(string)
Declaration
void AppendSystemMessage(string Content)
Parameters
| Type |
Name |
Description |
| string |
Content |
|
Declaration
void AppendUserInput(string Content)
Parameters
| Type |
Name |
Description |
| string |
Content |
|
Declaration
void AppendUserInputWithName(string userName, string Content)
Parameters
GetResponseFromChatbot()
Declaration
string GetResponseFromChatbot()
Returns
SetChatId(int)
Declaration
Parameters
| Type |
Name |
Description |
| int |
Id |
|
StreamResponseFromChatbot(IST_StreamResponseFromChatbotHandler)
Declaration
void StreamResponseFromChatbot(IST_StreamResponseFromChatbotHandler resultHandler)
Parameters