OCI Generative AI Python Tutorial

OCI Generative AI in Python: Where to Start

Every time I start experimenting with a new framework or API style on OCI Generative AI, I waste the same hour rebuilding the same boilerplate: right credentials, right endpoint, right model ID format, right environment variables. Then I discover that LangChain and the OpenAI-compatible API use a different variable than the raw SDK. Then I find that the newer Responses API needs a project OCID that the chat completions endpoint does not. ...

June 29, 2026 · 3 min · Enrico Pesce
Build a Translation Service with OCI Generative AI

Build a Translation Service with OCI Generative AI

The Challenge with Modern Translation Traditional translation services often struggle with context, idioms, and the subtle nuances that make language beautiful and meaningful. As businesses become increasingly global, there’s a growing need for translation services that can handle these complexities while maintaining security, scalability, and cost-effectiveness. Enter OCI Generative AI Oracle Cloud Infrastructure’s Generative AI service offers a compelling solution to these challenges. Unlike conventional translation APIs, OCI’s service leverages advanced language models that understand context and cultural nuances, making it an ideal choice for enterprise applications. ...

December 18, 2024 · 3 min · Enrico Pesce
OCI Functions a Python example

OCI Functions a Python example

The OCI Function service allows you to run code on an infrastructure that you don’t have to manage, in a scalable and automated way. This concept is called “serverless” because the end user will no longer have to worry about managing any infrastructure to run his own code. OCI implements what is the FN open source project, the project has been integrated with Oracle cloud services and is based on the execution of code inside a container, therefore it can potentially support any programming language and any type of container on x86 architecture, moreover, it is not strictly linked with the Oracle infrastructure and you can easily switch between different FN environments. ...