diff --git a/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/README.md b/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/README.md index 6b88661ba..0fe75dc84 100644 --- a/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/README.md +++ b/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/README.md @@ -64,7 +64,7 @@ IAM user option will work on both cases above, as local and as OCI Function. ## Build and test -During following the steps of the Hello function example adjust the line 93 to match your GenAI service OCID. +During following the steps of the Hello function example adjust the line 131 to match your GenAI service model OCID.

diff --git a/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/src/main/java/com/example/HelloAIFunction.java b/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/src/main/java/com/example/HelloAIFunction.java index f211b0887..1d96d5e60 100644 --- a/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/src/main/java/com/example/HelloAIFunction.java +++ b/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/src/main/java/com/example/HelloAIFunction.java @@ -70,7 +70,7 @@ Software and the Larger Work(s), and to sublicense the foregoing rights on public class HelloAIFunction { // FILL IN PROPER VALUES FOR OCI GENAI SERVICE - private static final String ENDPOINT = "https://inference.generativeai.us-chicago-1.oci.oraclecloud.com"; + private static final String ENDPOINT = "https://inference.generativeai.eu-frankfurt-1.oci.oraclecloud.com"; private static final Region REGION = Region.EU_FRANKFURT_1; // FILL IN PROPER VALUES FOR IAM USER WHEN NOT USING INSTANCE_PRINCIPAL IN OCI FUNCTION