Creating an Endpoint
Create an endpoint for a custom, pretrained, or imported model on a hosting dedicated AI cluster in OCI Generative AI.
Disclaimer
Our Content Moderation (CM) and Prompt Injection (PI) guardrails have been evaluated on a range of multilingual benchmark datasets. However, actual performance might vary depending on the specific languages, domains, data distributions, and usage patterns present in customer-provided data as the content is generated by AI and might contain errors or omissions. So, it's intended for informational purposes only, should not be considered professional advice and OCI makes no guarantees that identical performance characteristics will be observed in all real-world deployments. The OCI Responsible AI team is continuously improving these models.
Our content moderation capabilities have been evaluated against RTPLX, one of the largest publicly available multilingual benchmarking datasets, covering more than 38 languages. However, these results should be interpreted with appropriate caution as the content is generated by AI and might contain errors or omissions. Multilingual evaluations are inherently bounded by the scope, representativeness, and annotation practices of public datasets, and performance observed on RTPLX might not fully generalize to all real-world contexts, domains, dialects, or usage patterns. So, the findings are intended to be informational purposes only and should not be considered professional advice.
To add a model to a private endpoint, first create a private endpoint and then return to this page for steps to attach the model.
Private endpoints support pretrained and custom models only. Imported models aren't supported.
On the Endpoints list page, select Create endpoint. If you need help finding the list page, see Listing Endpoints.
Endpoint Information
Hosting configuration
Networking resources (for pretrained and custom models)
Select one of the following options:- Public endpoint
- Private endpoint: If you select this option, then select the compartment for the private endpoint, and then the private endpoint that you want to use. (Not available for imported models.)
By default, imported models have public endpoints.Guardrails (for pretrained and custom models)
Note
Guardrails aren't available for imported models.Use the endpoint create command and required parameters to create an endpoint:
oci generative-ai endpoint create --model-id <model-OCID> --compartment-id <compartment-OCID> --dedicated-ai-cluster-id <hosting-dedicated-AI-cluster-OCID> [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Note
For pretrained models, instead of an OCID, you can use the model name exactly as listed in the Console's playground. You can also find this OCI model name, in the model's detail page in Offered Pretrained Foundational Models in Generative AI.Run the CreateEndpoint operation to create an endpoint.
Note
For pretrained models, instead of an OCID, you can use the model name exactly as listed in the Console's playground. You can also find this OCI model name, in the model's detail page in Offered Pretrained Foundational Models in Generative AI.