Skip to content

Commit

Permalink
Show the response scores from Bing. (danny-avila#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
psarno authored Aug 18, 2023
1 parent 1dacfa4 commit 46ed5aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/server/routes/ask/bingAI.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ const ask = async ({

console.log('BING RESPONSE', response);

if (response.details && response.details.scores) {
console.log('SCORES', response.details.scores);
}

const newConversationId = endpointOption?.jailbreak
? response.jailbreakConversationId
: response.conversationId || conversationId;
Expand Down

0 comments on commit 46ed5aa

Please sign in to comment.