Project

General

Profile

Feature #3103

Feature #3024: extension 0.92.20 & 0.93: Enable OpenAI answers

BE: Change OpenAI API call

Added by Ram Kordale over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
Start date:
07/02/2023
Due date:
07/03/2023
% Done:

100%

Estimated time:
3.00 h
Spent time:

Description

Change OpenAI API call to:

POST /v1/completions {
"model": "text-davinci-003",
"prompt": <ourPrompt>,
"temperature": 0,
"max_tokens": 60,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
}

ourPrompt = concat("explain", <what user typed>, "with one example in 30 words or less")

#1

Updated by Ram Kordale over 1 year ago

  • Description updated (diff)
#2

Updated by Ayush Khandelwal over 1 year ago

  • Due date set to 07/03/2023
  • Status changed from New to In Progress
  • Estimated time set to 3.00 h
#3

Updated by Ayush Khandelwal over 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
#4

Updated by Ayush Khandelwal over 1 year ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Ayush Khandelwal to Ram Kordale

Working as expected

#5

Updated by Ram Kordale over 1 year ago

  • Description updated (diff)
  • Status changed from Feedback to Reopened
  • Assignee changed from Ram Kordale to Ayush Khandelwal
#6

Updated by Ram Kordale over 1 year ago

reopened because of changed requirement for
ourPrompt = concat("explain", <what user typed>, "with one example in 30 words or less")

#7

Updated by Ayush Khandelwal over 1 year ago

  • Status changed from Reopened to In Progress
  • % Done changed from 100 to 70
#8

Updated by Ayush Khandelwal over 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100
#9

Updated by Ayush Khandelwal over 1 year ago

  • Status changed from Resolved to Feedback
#10

Updated by Ayush Khandelwal over 1 year ago

  • Assignee changed from Ayush Khandelwal to Ram Kordale

Working as expected

#11

Updated by Ram Kordale over 1 year ago

  • Status changed from Feedback to Closed
#12

Updated by Ayush Khandelwal over 1 year ago

  • Subject changed from Change OpenAI API call to BE: Change OpenAI API call

Also available in: Atom PDF