Project

General

Profile

Feature #3606

Add Google AI models support to set_prompt_mods

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

Status:
New
Priority:
High
Assignee:
-
Start date:
06/11/2024
Due date:
% Done:

0%

Estimated time:
2.00 h

Description

For now, we will only support Gemini* models from Google. So, if the prefix of the model name in "Gemini", please perform "set_prompt_mods <step number>" in https://colab.research.google.com/drive/149LIurq2xSyBHQEfExu_ey-hqr1XnMLo. In order to do these steps, some of the earlier steps (like imports etc) in the colab will have to be done also.

In set_prompt_mods_1: set index_name to be concat(<index>, "_index"). Do only the first time action.
In set_prompt_mods_2: do only the next time action. [Index end point name is rk_index_point which will be deployed outside code.]
In set_prompt_mods_3: do first time action only.
In set_prompt_mods_4,5,6: do all

Apart from instructions, prefix and suffix, other information necessary for the call_open_ai call will also have to be stored in the Datastore.

Also available in: Atom PDF