Bug #3260
Tweak to 3103 (OpenAI API call) - 30->50words, 'do not make up answer'
Description
Change needed is only in ourPrompt and max_tokens.
Current:
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")
Change needed:
ourPrompt = concat("Only if you know the answer, explain", <what user typed>, "with one example in 50 words or less. Do not make up an answer.")
max_tokens: change from 60 to 90
Updated by Ayush Khandelwal about 1 year ago
- Due date set to 10/14/2023
- Status changed from New to In Progress
- Estimated time set to 1.00 h
Updated by Ayush Khandelwal about 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Updated by Ayush Khandelwal about 1 year ago
- Assignee changed from Ayush Khandelwal to Ram Kordale