Project

General

Profile

Bug #3092

Correct OpenAI API call

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

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
06/29/2023
Due date:
06/29/2023
% Done:

100%

Estimated time:
1.00 h

Description

Here is the OpenAI call to be made.

query = concat("<subject>", " ", "<user query>")

{
"model": "text-davinci-003",
"prompt": "Explain \"<query>\" in less than 30 words",
"temperature": 0.5,
"max_tokens": 120,
"top_p": 1,
"frequency_penalty": 0.8,
"presence_penalty": 0
}

#1

Updated by Ayush Khandelwal over 1 year ago

  • Due date set to 06/29/2023
  • Status changed from New to In Progress
  • Estimated time set to 1.00 h
#2

Updated by Ayush Khandelwal over 1 year ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Ayush Khandelwal to Ram Kordale
  • % Done changed from 0 to 100

Working as expected

#3

Updated by Ram Kordale over 1 year ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF