Skip to main content

Connect an AI Resource

Estimated time: 2 minutes

An AI Resource is the actual model (or assistant) that powers your agent's replies.
Once connected, every message your agent receives is forwarded to the selected resource.

ℹ️  Need a refresher on the difference between Agents and AI Resources?
See the Core Concepts page.


Open the "AI Resource" panel

  1. Sign in to Predictable Dialogs.
  2. Select the agent you just created.
  3. On current page, click the drop down input with the label AI Resource
  • If you are configuring for the first time you will not have any existing ai resources. So click + Add AI Resource

Choose a resource type

OptionWhy you'd pick itTypical round‑trip time*File SearchFunctions
OpenAIFastest replies, ideal for real‑time chat≈ 50 ms✅ Managed in Predictable Dialogs🚧 Coming soon
OpenAI AssistantBuilt‑in tools & retrieval, code interpreter≈ 2–3 s✅ Configured on OpenAI Platform✅ Available
AnthropicComing soon
XAIComing soon

*Based on internal benchmarks with the same prompt ("hi").

🚀 Recommendation:

  • For speed and simplicity: Choose OpenAI You can always switch the agent to another resource later—no embed code changes needed.

3 · Enter provider‑specific details

For OpenAI Resources

FieldDescriptionExample
API KeyYour OpenAI API keysk-...
ModelOpenAI model namegpt-4o, gpt-4o-mini

After entering these details:

  1. Click Next to validate your API key
  2. Optionally update the resource name and add system instructions
  3. Click Save

For OpenAI Assistant Resources

FieldDescriptionExample
API KeyYour OpenAI API keysk-...
Assistant IDYour OpenAI Assistant IDasst_abc...

After entering these details, click Save.


Next Steps

The new resource now appears in the dropdown and is immediately active for the agent.

For OpenAI resources, you can optionally:

For OpenAI Assistant resources:

  • File search and functions are managed on the OpenAI platform
  • See the OpenAI Assistant guides for advanced configuration

Need to switch later? Re‑open the AI Resource dropdown and pick a different entry—your website embed link stays the same.