Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Generative AI, Error on OCI based Instance

Bharat BhatiaAug 8 2024 — edited Aug 8 2024

While configuring Generative AI services opting for Cohere, it works fine on apex.oracle.com when using in Catbot, but same is giving error on OCI based Instance, like here.

ERROR:

The HTTP request to Generative AI Service at https://api.cohere.ai/v1/chat failed with HTTP-400: invalid request: Invalid role in chat_history at index 1. Role must be one of the following: User, Chatbot, System, Tool

Comments
Post Details
Added on Aug 8 2024
6 comments
1,929 views