aotrautils 0.0.652 → 0.0.654
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 +11 -5
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (20/10/2023-00:02:54)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5034,6 +5034,11 @@ window.stringifyObject=function(objectToStringify){
|
|
|
5034
5034
|
class OpenAIAPIClient{
|
|
5035
5035
|
|
|
5036
5036
|
construct(modelName, apiURL, agentRole, prompt){
|
|
5037
|
+
|
|
5038
|
+
//DBG
|
|
5039
|
+
lognow(">>>>>>>>>>>>>>>>!!!!!!apiURL:",apiURL);
|
|
5040
|
+
|
|
5041
|
+
|
|
5037
5042
|
this.modelName=modelName;
|
|
5038
5043
|
this.apiURL=apiURL;
|
|
5039
5044
|
this.agentRole=agentRole;
|
|
@@ -5050,6 +5055,7 @@ class OpenAIAPIClient{
|
|
|
5050
5055
|
|
|
5051
5056
|
//DBG
|
|
5052
5057
|
lognow("!!!!!!self.apiURL:",self.apiURL);
|
|
5058
|
+
|
|
5053
5059
|
/*
|
|
5054
5060
|
const result=()=>{
|
|
5055
5061
|
const p=new Promise((resolve,reject)=>{
|
|
@@ -5094,7 +5100,7 @@ class OpenAIAPIClient{
|
|
|
5094
5100
|
getOpenAIAPIClient=(modelName, apiURL, agentRole, prompt)=>{
|
|
5095
5101
|
|
|
5096
5102
|
// DBG
|
|
5097
|
-
lognow(`TEST : ${modelName}, ${
|
|
5103
|
+
lognow(`TEST : ${modelName}, ${apiURL}, ${agentRole}, ${prompt}.`)
|
|
5098
5104
|
|
|
5099
5105
|
return new OpenAIAPIClient(modelName, apiURL, agentRole, prompt);
|
|
5100
5106
|
};
|
|
@@ -5111,7 +5117,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5111
5117
|
|
|
5112
5118
|
|
|
5113
5119
|
|
|
5114
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
|
5120
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (20/10/2023-00:02:54)»*/
|
|
5115
5121
|
/*-----------------------------------------------------------------------------*/
|
|
5116
5122
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5117
5123
|
*
|
|
@@ -13353,7 +13359,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13353
13359
|
|
|
13354
13360
|
|
|
13355
13361
|
|
|
13356
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
|
13362
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (20/10/2023-00:02:54)»*/
|
|
13357
13363
|
/*-----------------------------------------------------------------------------*/
|
|
13358
13364
|
|
|
13359
13365
|
|
|
@@ -14592,7 +14598,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14592
14598
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14593
14599
|
|
|
14594
14600
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14595
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
|
14601
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (20/10/2023-00:02:54)»*/
|
|
14596
14602
|
/*-----------------------------------------------------------------------------*/
|
|
14597
14603
|
|
|
14598
14604
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.654",
|
|
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)",
|