qcobjects-azure-openai-api
Advanced tools
Comparing version 1.0.18 to 1.0.19
@@ -62,3 +62,3 @@ "use strict"; | ||
else { | ||
botMessage.textContent = data.choices[0].text.trim(); | ||
botMessage.textContent = data.choices[0].message.content.trim(); | ||
} | ||
@@ -65,0 +65,0 @@ } |
{ | ||
"name": "qcobjects-azure-openai-api", | ||
"private": false, | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "QCObjects OpenAI API Handler", | ||
@@ -6,0 +6,0 @@ "main": "public/js/index.cjs", |
@@ -62,3 +62,3 @@ "use strict"; | ||
else { | ||
botMessage.textContent = data.choices[0].text.trim(); | ||
botMessage.textContent = data.choices[0].message.content.trim(); | ||
} | ||
@@ -65,0 +65,0 @@ } |
@@ -70,3 +70,3 @@ import { Controller, ControllerParams } from "qcobjects"; | ||
} else { | ||
botMessage.textContent = data.choices[0].text.trim(); | ||
botMessage.textContent = data.choices[0].message.content.trim(); | ||
} | ||
@@ -73,0 +73,0 @@ } catch (e) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100443