Class PandorabotService
Inheritance
System.Object
PandorabotService
Namespace: CommonBotLibrary.Services
Assembly: cs.temp.dll.dll
Syntax
public class PandorabotService : IChatService
Constructors
PandorabotService(String)
Constructs an
Declaration
public PandorabotService(string botId = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | botId | Defaults to bot Id in Tokens if null. |
Methods
ConverseAsync(String, String)
Uses pandorabots.com to communicate with an AI.
Declaration
public Task<> ConverseAsync(string message, string customerId = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to send. |
System.String | customerId | A unique identifier for the current conversation. |
Returns
Type | Description |
---|---|
Task<System.> | The AI's response, and the current conversation ID. |