Project

General

Profile

Feature #3560

Support for prompt mods

Added by Ram Kordale 8 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Urgent
Assignee:
Start date:
05/30/2024
Due date:
% Done:

100%

Estimated time:

Description

Deploy set_prompt_mods api
1.Inputs (types): model (string), index (int), prefix (string), suffix (string)
2.store in new Datastore kind "prompt_prefixes".
3.Encrypt prefix and suffix and store in Datastore

Changes to https://call-openai-api-yhb42btdva-uc.a.run.app:
1.add parameters model and index. if these are not present, assume "gpt 3.5" and 1 as arguments.
2.retrieve prefix and suffix
2.decrypt them
3.Before sending prompt to OpenAI API, set prompt to concatenate(prefix, \n, prompt, \n, suffix)

#1

Updated by Md Shahzar 8 months ago

  • Status changed from New to In Progress
#2

Updated by Md Shahzar 8 months ago

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

Updated by Md Shahzar 8 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Md Shahzar to Ram Kordale
#4

Updated by Ram Kordale 4 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF