A team already uses the OpenAI SDK and wants to build agent workflows on OCI with minimal code changes. What does Oracle offer?
- Exam domain
- OCI Generative AI models and inference
- Difficulty
- Easy
- In this mock
- 6 questions on this domainPractise this domain
Why B is the answer
The OCI Responses API, which is OpenAI-compatible
Oracle states that the OCI Responses API is the primary API for agentic workflows and that it is OpenAI-compatible, alongside OpenAI-compatible APIs for existing tools and SDKs.
Remember: The Responses API is OpenAI-compatible.
In detail
- Responses API: OpenAI-compatible.
- Reuse existing SDKs.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A PL/SQL package onlyWrong
PL/SQL is not the only interface.
B. The OCI Responses API, which is OpenAI-compatibleRight
The Responses API is OpenAI-compatible.
C. Nothing; they must rewrite against a proprietary SDKWrong
Oracle offers OpenAI-compatible APIs.
D. Only a REST API with a custom schema, which needs a full adapter layer written by the teamWrong
No custom adapter layer is required for compatible calls.
Use case
An illustrative scenario, not a real incident.
Illustrative: a team points its existing SDK client at OCI and keeps its agent code.
See it in different ways
sequenceDiagram participant P0 as OpenAI SDK participant P1 as OCI Responses API P0->>P1: responses.create P1-->>P0: response
How to read this chart
- 1. OpenAI SDK sends "responses.create" to OCI Responses API.
- 2. OpenAI SDK gets a reply from OCI Responses API: "response".
flowchart TD
Q{"What are you building?"}
Q -->|"Agent workflows"| A0["OCI Responses API"]
Q -->|"Existing OpenAI tooling"| A1["OpenAI-compatible APIs"]How to read this chart
- At "What are you building?": if "Agent workflows", go to "OCI Responses API"; if "Existing OpenAI tooling", go to "OpenAI-compatible APIs".