Skip to content

Commit

Permalink
static token for evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhoune committed Nov 27, 2023
1 parent 17591f2 commit 853cd0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/statistics/improvements-recommender.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class ImprovementRec extends LitElement {
"Content-Type": "application/json",
},
body: JSON.stringify({
"openai-key": this.openaiToken,
"openai-key": "evaluation-lakhoune",
}),
});
const result = await response.text();
Expand Down
2 changes: 1 addition & 1 deletion src/statistics/recommender/custom-improvements.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class IntentImprovement extends LitElement {
"Content-Type": "application/json",
},
body: JSON.stringify({
"openai-key": this.openaiToken,
"openai-key": "evaluation-lakhoune",
inputPrompt: this.quill.getText(),
"openai-model": model,
}),
Expand Down
2 changes: 1 addition & 1 deletion src/statistics/recommender/general-improvements.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class GeneralImprovement extends LitElement {
"Content-Type": "application/json",
},
body: JSON.stringify({
"openai-key": this.openaiToken,
"openai-key": "evaluation-lakhoune",
"openai-model": model,
}),
signal: controller.signal,
Expand Down
2 changes: 1 addition & 1 deletion src/statistics/recommender/intent-improvements.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class IntentImprovement extends LitElement {
"Content-Type": "application/json",
},
body: JSON.stringify({
"openai-key": this.openaiToken,
"openai-key": "evaluation-lakhoune",
"openai-model": model,
}),
signal: controller.signal,
Expand Down

0 comments on commit 853cd0a

Please sign in to comment.