Skip to main content

What is Feature Name?

Explaining what the feature is and why users should use it.
Feature screenshot
This is a note or important information about the feature that users should know before getting started.

Resources

Steps to use

1

Step 1: Go to the feature page

Go to Feature page and click Create.
Step 1 screenshot
2

Step 2: Configure the feature

Configure your feature settings in the UI (model, parameters, etc.).
from openai import OpenAI

client = OpenAI(
    base_url="https://api.keywordsai.co/api/",
    api_key="YOUR_KEYWORDSAI_API_KEY",
)

response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello"}],
    extra_body={
        "var_1": "sample_value"
    }
)
3

Step 3: Use in your code

Copy the configuration and use it in your requests.

Configuration

Parameter 1

Description of what this parameter does and how to use it.
{
  "var_1": "sample_value"
}
Description of this parameter.
{
  "var_2": {
    "nested_field": "sample_value"
  }
}

Additional