Project

General

Profile

Feature #3581

Conversation and update support to set_prompt_mods

Added by Ram Kordale 6 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Urgent
Assignee:
Start date:
06/02/2024
Due date:
% Done:

100%

Estimated time:

Description

Currently, fields are model, index, prefix and suffix. please add assistant_id and instructions.

-retrieve <assistant_id, instructions, prefix and suffix> for given model and index from DS.
-if assistant_id = ""
--assistant_id = create_assistant(model, temperature=0.2) [POST https://api.openai.com/v1/assistants]

-store <model, index, assistant_id, instructions, prefix and suffix> to DS.

Also, support update of the record.

Also available in: Atom PDF