Skip to content
Components

Generative AI

The Generative AI application allows you to query both OpenAI and Azure OpenAI models using data from your Keboola project.

The Generative AI application lets you query large language models using data from your Keboola project. Five providers are available:

Set up a new configuration for the Generative AI application.

Select your provider in the AI Service Provider field, then authenticate.

  1. Obtain your API key from the OpenAI platform settings.
  2. Enter your API key into the API Key field within the Data Source Configuration window.
  1. Obtain your API key from your Azure OpenAI resource — see Create and deploy an Azure OpenAI resource, which covers retrieving the key and endpoint.
  2. Enter your API key into the API Key field within the Data Source Configuration window.
  3. Fill in API Base, which should resemble https://YOUR_RESOURCE_NAME.openai.azure.com/.
  4. Fill in Deployment ID — the name you gave the model deployment.
  5. Fill in API Version. For the available versions, see the Azure OpenAI REST API reference.

Upon completing these steps, click the Add Row button and provide a name for the row configuration (this is solely for identification).

  1. Click the List models button to view the available models. Subsequently, choose your desired model in the Model field.
  2. You can either stick with the default model settings or customize them in the Model Options section. Maximum token spend (Optional) caps what a single run may consume.
  3. In the Prompt Templates section, pick a Prompt Template to load it, then copy it into the Prompt field as a starting point.
  4. The Prompt field determines the prompt and data input format. Use the placeholder [[INPUT_COLUMN]] to reference an input column. Ensure your input table includes the mentioned column.
  5. In the Destination section, select a name for your Storage table. Optionally, you can configure incremental load settings. If primary keys are designated, rows in the destination table will be updated. Without primary keys, new rows will be added.
Ask Kai

Hi, I'm Kai — Keboola's AI assistant for the docs. Ask me anything and I'll answer from the documentation and cite the pages I use.

Kai is an AI and can make mistakes. Check the sources it links.