Try to Fix Embeding RAG Persisted Issues ...
This commit is contained in:
@@ -84,6 +84,7 @@ namespace xAiApi.Interfaces
|
||||
/// Ask a Question By Rag Retrive From Knowledge ...
|
||||
/// </summary>
|
||||
/// <param name="prompt"></param>
|
||||
/// <param name="type"></param>
|
||||
/// <param name="topK"></param>
|
||||
/// <param name="minScore"></param>
|
||||
/// <param name="userInfo"></param>
|
||||
@@ -91,6 +92,7 @@ namespace xAiApi.Interfaces
|
||||
/// <returns></returns>
|
||||
Task<string> AskTextFromKnowledgeAsync(
|
||||
string prompt,
|
||||
string type = null,
|
||||
int? topK = null,
|
||||
float? minScore = null,
|
||||
XUserClaimsInfoDto userInfo = null,
|
||||
@@ -101,6 +103,7 @@ namespace xAiApi.Interfaces
|
||||
/// Ask a Question By Rag Retrive From Knowledge and Stream Response ...
|
||||
/// </summary>
|
||||
/// <param name="prompt"></param>
|
||||
/// <param name="type"></param>
|
||||
/// <param name="topK"></param>
|
||||
/// <param name="minScore"></param>
|
||||
/// <param name="userInfo"></param>
|
||||
@@ -108,6 +111,7 @@ namespace xAiApi.Interfaces
|
||||
/// <returns></returns>
|
||||
IAsyncEnumerable<string> AskTextFromKnowledgeAsEnumerable(
|
||||
string prompt,
|
||||
string type = null,
|
||||
int? topK = null,
|
||||
float? minScore = null,
|
||||
XUserClaimsInfoDto userInfo = null,
|
||||
@@ -118,6 +122,7 @@ namespace xAiApi.Interfaces
|
||||
/// Ask a Question as Prompt and Retrieve Response ...
|
||||
/// </summary>
|
||||
/// <param name="prompt"></param>
|
||||
/// <param name="type"></param>
|
||||
/// <param name="topK"></param>
|
||||
/// <param name="minScore"></param>
|
||||
/// <param name="projectId"></param>
|
||||
@@ -129,6 +134,7 @@ namespace xAiApi.Interfaces
|
||||
/// <returns></returns>
|
||||
Task<XAiMessageDto> AskAsync(
|
||||
string prompt,
|
||||
string type = null,
|
||||
int? topK = null,
|
||||
float? minScore = null,
|
||||
Guid? projectId = null,
|
||||
@@ -143,6 +149,7 @@ namespace xAiApi.Interfaces
|
||||
/// Ask a Question as Prompt and Retrieve Response as Async Enumerable ...
|
||||
/// </summary>
|
||||
/// <param name="prompt"></param>
|
||||
/// <param name="type"></param>
|
||||
/// <param name="topK"></param>
|
||||
/// <param name="minScore"></param>
|
||||
/// <param name="projectId"></param>
|
||||
@@ -154,6 +161,7 @@ namespace xAiApi.Interfaces
|
||||
/// <returns></returns>
|
||||
IAsyncEnumerable<XAiResonseMessage> AskAsEnumerable(
|
||||
string prompt,
|
||||
string type = null,
|
||||
int? topK = null,
|
||||
float? minScore = null,
|
||||
Guid? projectId = null,
|
||||
|
||||
Reference in New Issue
Block a user