For the latest updates, examples and experimental features, please see ADS LangChain Integration.This notebooks goes over how to use an LLM hosted on a OCI Data Science Model Deployment. For authentication, the oracle-ads library is used to automatically load credentials required for invoking the endpoint.
Prerequisite
Deploy model
You can easily deploy, fine-tune, and evaluate foundation models using the AI Quick Actions on OCI Data Science Model deployment. For additional deployment examples, please visit the Oracle GitHub samples repository.Policies
Make sure to have the required policies to access the OCI Data Science Model Deployment endpoint.Set up
After having deployed model, you have to set up following required parameters of the call:endpoint
: The model HTTP endpoint from the deployed model, e.g.https://modeldeployment.<region>.oci.customer-oci.com/<md_ocid>/predict
.