Salt la conținutul principal

Setup and administration

The Functions service provides a scalable, secure, and automated way to host and run the Python code.

The Python code can range from basic operations and data transformations to deploying advanced machine learning models. For example, you can use Functions to:

  • Preprocess data, transform and validate data, convert data to the same unit, and detect deviation from estimated production.
  • Convert from simple to complex calculations: interpolation, production trends, computing gas rates, generating alarms based on events.
  • Create statistical models for forecasting oil/water separation and time series smoothing.

Before you start

Read more about capabilities.

Activate Cognite Functions in CDF

Before creating a Cognite Function, you may have to activate functions in CDF.

  1. Navigate to Data management > Build solutions > Functions.
  • If you see the warning: Cognite Functions is not activated for the project, select Activate to request activation.

  • If you see the Upload function button, your project is already activated for Cognite Functions.

Activation can take up to two hours. The Activation in progress message will be shown until the process has been completed.

  • The Upload function button is available when the activation is completed.

You can now create Cognite Functions using CDF, the Functions API, or the Python SDK.