@superatomai/sdk-node 0.0.45 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6005,7 +6005,7 @@ ${JSON.stringify(tool.requiredFields || [], null, 2)}`;
|
|
|
6005
6005
|
},
|
|
6006
6006
|
{
|
|
6007
6007
|
model: this.getModelForTask("complex"),
|
|
6008
|
-
maxTokens:
|
|
6008
|
+
maxTokens: 8192,
|
|
6009
6009
|
temperature: 0.2,
|
|
6010
6010
|
apiKey: this.getApiKey(apiKey)
|
|
6011
6011
|
},
|
|
@@ -6669,8 +6669,8 @@ ${errorMsg}
|
|
|
6669
6669
|
userPrompt,
|
|
6670
6670
|
collections,
|
|
6671
6671
|
userId,
|
|
6672
|
-
similarityThreshold: 0.
|
|
6673
|
-
//
|
|
6672
|
+
similarityThreshold: 0.75
|
|
6673
|
+
// 75% threshold
|
|
6674
6674
|
});
|
|
6675
6675
|
if (conversationMatch) {
|
|
6676
6676
|
logger.info(`[${this.getProviderName()}] \u2713 Found matching conversation with ${(conversationMatch.similarity * 100).toFixed(2)}% similarity`);
|