ow
This commit is contained in:
1 parent
e60118eb53
commit
2e990e687f
38 files changed
+441
-237
No files matched your search
@@ -9,6 +9,7 @@ using CloudBuilder.AI.Service;
|
||||
using System;
|
||||
using CloudBuilder.AI.Data;
|
||||
using CloudBuilder.AI.SearchCriteria;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace CloudBuilder.Request.AI
|
||||
{
|
||||
@@ -75,6 +76,10 @@ var compositionData = new ProcessBookCompositionData3{
key = key,
encoding = e
|
||||
{
|
||||
var compositionData = new ExtractNamesByChapterGuidCompositionData2{ ␍bookGuid = bookGuid, ␍chapterGuid = chapterGuid }; ␍ Task.Run(() => serviceRequest.PostAsJsonAsync<ExtractNamesByChapterGuidCompositionData2, dynamic>("/AiBook/ExtractNamesByChapterGuid", compositionData)).GetAwaiter().GetResult(); }
|
||||
|
||||
public IActionResult GetTtsStream(string text)
|
||||
{
|
||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<IActionResult>("/AiBook/GetTtsStream?text=" + text.ToString())).GetAwaiter().GetResult(); }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user