Skip to content

Commit bc3683d

Browse files
authored
Merge pull request #1413 from oracle-devrel/review-and-fixes-8
Review and fixes 8
2 parents 64b257c + 97701e7 commit bc3683d

File tree

2 files changed

+6
-2
lines changed
  • app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions

2 files changed

+6
-2
lines changed

app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,17 @@ This example is based on the <a href="../java-helloworld-with-local-dev-and-oci-
5555

5656
To do the OCI SDK authentication and authorization to use the GenAI services the function uses two options:
5757
<ul>
58-
<li>IAM regular <b>user auth</b> for the local dev and test on mac</li>
59-
<li><b>InstancePrincipal</b> auth for the OCI Function by passing config key <code>AUTH_INSTANCE_PRINCIPAL</code> with any value (then not being null)</li>
58+
<li><b>IAM regular user</b> for the local dev and test on mac</li>
59+
<li><b>InstancePrincipal</b> for the OCI Function by passing config key <code>AUTH_INSTANCE_PRINCIPAL</code> with any value (then not being null)</li>
6060
</ul>
6161

6262
<p>
6363
IAM user option will work on both cases above, as local and as OCI Function.
6464

65+
## Build and test
66+
67+
During following the steps of the <a href="../java-helloworld-with-local-dev-and-oci-functions">Hello function example </a> adjust the <a href="https://github.com/oracle-devrel/technology-engineering/blob/main/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/src/main/java/com/example/HelloAIFunction.java#L93">line 93</a> to match your <code>GenAI service OCID</code>.
68+
6569
<p>
6670

6771
Testing with curl (or copy-pasting the API Gateway deployment url to a browser):

0 commit comments

Comments
 (0)