Try to Fix Embeding RAG Persisted Issues ...

This commit is contained in:
2026-11-01 23:12:25 +03:30
parent 1b74f23a18
commit c4b7e86174
3 changed files with 13 additions and 1 deletions
+7
View File
@@ -1387,6 +1387,13 @@ namespace xAiModels.Providers
XException.InvalidArgs.Throw();
}
//
// Normalize ...
if (type.IsNullOrEmpty())
{
type = XAiModelsConstants.XAiDefaultKnowledgeType;
}
//
// Converts Question Vector to Vector Array ...
var queryVector = queryEmbedding.ToArray();