Skip to content

Commit 0b727cb

Browse files
authored
Merge pull request #1314 from oracle-devrel/HelloAI-function-AI-service-change
HelloAI function change to upgrade from text generation to chat
2 parents 503714b + 102b328 commit 0b727cb

File tree

1 file changed

+1
-1
lines changed
  • app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/src/main/java/com/example

1 file changed

+1
-1
lines changed

app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/src/main/java/com/example/HelloAIFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class HelloAIFunction {
3333

3434
// FILL IN PROPER VALUES FOR OCI GENAI SERVICE
3535
private static final String ENDPOINT = "https://inference.generativeai.us-chicago-1.oci.oraclecloud.com";
36-
private static final Region REGION = Region.US_CHICAGO_1;
36+
private static final Region REGION = Region.EU_FRANKFURT_1;
3737

3838
// FILL IN PROPER VALUES FOR IAM USER WHEN NOT USING INSTANCE_PRINCIPAL IN OCI FUNCTION
3939
private static final String COMPARTMENT_ID = "ocid1.compartment.oc1..";

0 commit comments

Comments
 (0)