public async Task <List <WebhookMessage> > SendMessageAsync(string conversationId, string message)
        {
            Vevro.Rasa.ApiClient.Client.ApiResponse <List <WebhookMessage> > localVarResponse = await SendMessageAsyncWithHttpInfo(conversationId, message);

            return(localVarResponse.Data);
        }
 public List <WebhookMessage> SendMessage(string conversationId, string message)
 {
     Vevro.Rasa.ApiClient.Client.ApiResponse <List <WebhookMessage> > localVarResponse = SendMessageWithHttpInfo(conversationId, message);
     return(localVarResponse.Data);
 }
Exemple #3
0
 /// <summary>
 /// Version of Rasa Returns the version of Rasa.
 /// </summary>
 /// <exception cref="Vevro.Rasa.ApiClient.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>InlineResponse200</returns>
 public InlineResponse200 VersionGet()
 {
     Vevro.Rasa.ApiClient.Client.ApiResponse <InlineResponse200> localVarResponse = VersionGetWithHttpInfo();
     return(localVarResponse.Data);
 }
Exemple #4
0
        /// <summary>
        /// Version of Rasa Returns the version of Rasa.
        /// </summary>
        /// <exception cref="Vevro.Rasa.ApiClient.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of InlineResponse200</returns>
        public async System.Threading.Tasks.Task <InlineResponse200> VersionGetAsync()
        {
            Vevro.Rasa.ApiClient.Client.ApiResponse <InlineResponse200> localVarResponse = await VersionGetAsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
Exemple #5
0
 /// <summary>
 /// Status of the currently loaded Rasa model Information about the currently loaded Rasa model.
 /// </summary>
 /// <exception cref="Vevro.Rasa.ApiClient.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>InlineResponse2001</returns>
 public InlineResponse2001 StatusGet()
 {
     Vevro.Rasa.ApiClient.Client.ApiResponse <InlineResponse2001> localVarResponse = StatusGetWithHttpInfo();
     return(localVarResponse.Data);
 }
Exemple #6
0
        /// <summary>
        /// Health endpoint of Rasa Server This URL can be used as an endpoint to run health checks against. When the server is running this will return 200.
        /// </summary>
        /// <exception cref="Vevro.Rasa.ApiClient.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of string</returns>
        public async System.Threading.Tasks.Task <string> RootGetAsync()
        {
            Vevro.Rasa.ApiClient.Client.ApiResponse <string> localVarResponse = await RootGetAsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
Exemple #7
0
 /// <summary>
 /// Health endpoint of Rasa Server This URL can be used as an endpoint to run health checks against. When the server is running this will return 200.
 /// </summary>
 /// <exception cref="Vevro.Rasa.ApiClient.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>string</returns>
 public string RootGet()
 {
     Vevro.Rasa.ApiClient.Client.ApiResponse <string> localVarResponse = RootGetWithHttpInfo();
     return(localVarResponse.Data);
 }
        /// <summary>
        /// Retrieve the loaded domain Returns the domain specification the currently loaded model is using.
        /// </summary>
        /// <exception cref="Vevro.Rasa.ApiClient.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of Domain</returns>
        public async System.Threading.Tasks.Task <Domain> DomainGetAsync()
        {
            Vevro.Rasa.ApiClient.Client.ApiResponse <Domain> localVarResponse = await DomainGetAsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
 /// <summary>
 /// Retrieve the loaded domain Returns the domain specification the currently loaded model is using.
 /// </summary>
 /// <exception cref="Vevro.Rasa.ApiClient.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>Domain</returns>
 public Domain DomainGet()
 {
     Vevro.Rasa.ApiClient.Client.ApiResponse <Domain> localVarResponse = DomainGetWithHttpInfo();
     return(localVarResponse.Data);
 }