Skip to content

Commit ac4e16d

Browse files
authored
Merge pull request #1800 from oracle-devrel/MarcGueury-patch-7
Add files via upload
2 parents 27adbf6 + 34103ec commit ac4e16d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
exportedRestServices:
2+
- endpoint: "https://inference.generativeai.eu-frankfurt-1.oci.oraclecloud.com/20231130/actions/chat"
3+
name: "mgLlama"
4+
type: "LLM"
5+
authType: "resourcePrincipal"
6+
llmType: "CUSTOM"
7+
mock: false
8+
restServiceMethods:
9+
- restServiceMethodType: "POST"
10+
contentType: "application/json"
11+
requestBody: "{\n \"compartmentId\": \"ocid1.compartment.oc1..aaaaaaaa2mromzqpk6aju4dpp6dwrf7c5bibieroemdhywxfy4tfcoh2qruq\",\n \"servingMode\": {\n \"modelId\": \"cohere.command-a-03-2025\",\n \"servingType\": \"ON_DEMAND\"\n },\n \"chatRequest\": {\n \"message\": \"tell a joke\",\n \"apiFormat\": \"COHERE\",\n \"maxTokens\": 4000,\n \"isStream\": false,\n \"frequencyPenalty\": 0,\n \"presencePenalty\": 0,\n \"temperature\": 0,\n \"topP\": 1,\n \"topK\": 1\n }\n}"
12+
restServiceParams: []

0 commit comments

Comments
 (0)