aotrautils 0.0.651 → 0.0.652
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.
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/10/2023-23:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/10/2023-23:59:20)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5034,12 +5034,10 @@ window.stringifyObject=function(objectToStringify){
|
|
|
5034
5034
|
class OpenAIAPIClient{
|
|
5035
5035
|
|
|
5036
5036
|
construct(modelName, apiURL, agentRole, prompt){
|
|
5037
|
-
|
|
5038
5037
|
this.modelName=modelName;
|
|
5039
5038
|
this.apiURL=apiURL;
|
|
5040
5039
|
this.agentRole=agentRole;
|
|
5041
5040
|
this.prompt=prompt;
|
|
5042
|
-
|
|
5043
5041
|
}
|
|
5044
5042
|
|
|
5045
5043
|
getAnswer(AIAPIKey, additionalPrompt){
|
|
@@ -5094,6 +5092,10 @@ class OpenAIAPIClient{
|
|
|
5094
5092
|
|
|
5095
5093
|
// Nodejs compatibility :
|
|
5096
5094
|
getOpenAIAPIClient=(modelName, apiURL, agentRole, prompt)=>{
|
|
5095
|
+
|
|
5096
|
+
// DBG
|
|
5097
|
+
lognow(`TEST : ${modelName}, ${apiUR}L, ${agentRole}, ${prompt}.`)
|
|
5098
|
+
|
|
5097
5099
|
return new OpenAIAPIClient(modelName, apiURL, agentRole, prompt);
|
|
5098
5100
|
};
|
|
5099
5101
|
|
|
@@ -5109,7 +5111,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5109
5111
|
|
|
5110
5112
|
|
|
5111
5113
|
|
|
5112
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/10/2023-23:
|
|
5114
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/10/2023-23:59:20)»*/
|
|
5113
5115
|
/*-----------------------------------------------------------------------------*/
|
|
5114
5116
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5115
5117
|
*
|
|
@@ -13351,7 +13353,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13351
13353
|
|
|
13352
13354
|
|
|
13353
13355
|
|
|
13354
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/10/2023-23:
|
|
13356
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/10/2023-23:59:20)»*/
|
|
13355
13357
|
/*-----------------------------------------------------------------------------*/
|
|
13356
13358
|
|
|
13357
13359
|
|
|
@@ -14590,7 +14592,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14590
14592
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14591
14593
|
|
|
14592
14594
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14593
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (19/10/2023-23:
|
|
14595
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (19/10/2023-23:59:20)»*/
|
|
14594
14596
|
/*-----------------------------------------------------------------------------*/
|
|
14595
14597
|
|
|
14596
14598
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.652",
|
|
4
4
|
"main": "aotrautils.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|