Project

General

Profile

Feature #3607

Add support for Google models to call_openai_ai

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:
0.75 h

Description

If the prefix of the model is "Gemini", please perform call_open_ai_<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 call_openai_api_1: execute "next time actions" only
in call_openai_api_2: execute "next time actions" only
in call_openai_api_3,4,5: execute all
in call_openai_api_6: execute all but replace "You are a helpful AI assistant. You're tasked to answer the question given below, but only based on the context provided." with prefix and replace "If you cannot find an answer ask the user to rephrase the question." with suffix.
in call_openai_api_7,8,9: execute all

Also available in: Atom PDF