//Request payload with COHERE command-r
{
"body": {
"Context": "GenAI:Chat", //OR “GenAI:GenerateChatText” OR “GenAI:SummarizeChatText”
"Chat_Param_1": "prompt:Write some facts about Oracle India Pvt Ltd" ,
"Chat_Param_2": "compartmentId:ocid1.tenancy.oc1..XXXXXX",
"Chat_Param_3" : "runtimeType:COHERE",
"Chat_Param_4" : "maxTokens:3500",
"Chat_Param_5" : "temperature:0",
"Chat_Param_6" : "servingMode:ON_DEMAND",
"Chat_Param_7" : "isEcho:true",
"Chat_Param_8" : "isStream:false"
}
}
//corresponding Response Payload
{
"Status": "Success",
"Output": "CohereChatResponse(super=BaseChatResponse(super=BmcModel(__explicitlySet__=[finishReason, chatHistory, text, prompt])), text=1. Oracle India Pvt Ltd is the Indian subsidiary of the American multinational computer technology company Oracle Corporation.\n\n2. Oracle India has its headquarters in Bangalore, Karnataka. The facility spans across 9 acres and is one of the largest owned by an international software company in India.\n\n3. The Indian subsidiary was established in 1994 and has played a significant role in Oracle's global strategy.\n\n4. Oracle India Pvt Ltd is a significant research and development hub for the company, focusing on product development, support, and management. It has contributed significantly to various Oracle products and technologies.\n\n5. The company has multiple offices across India, including locations in Gurgaon, Hyderabad, Mumbai, and New Delhi, employing thousands of professionals.\n\n6. Oracle India offers a wide range of job opportunities, from software development and engineering to sales, marketing, and customer support.\n\n7. It has a strong focus on training and development, providing extensive opportunities for employees to enhance their skills and grow professionally.\n\n8. Oracle India actively engages in corporate social responsibility initiatives. It has partnered with NGOs and local communities to support education, environment sustainability, and social empowerment programs. . . . .",
"OPCRequestId": "21F32E8D687AAAAAAA/BE22BA603BB123C5E5BBBBBBB/FCCDA06F70EF3CCFCCCCCCCC"
}