AI Assistants

Using OpenAI Assistants in Aimogen Pro, how they differ from models and personas, and where an assistant can be selected.

An Assistant is an OpenAI construct: a persistent configuration with its own instructions, model, files and functions. Aimogen Pro can create, manage and use them.

Advanced Tools › AI Assistants

AI Assistants Support Added, Create Your Own GPTs in AimogenCreating and using assistants.Watch on YouTube

This tutorial was recorded before Aiomatic was renamed to Aimogen Pro. Some labels or interface elements may differ slightly from the current version.

Requirements#

An OpenAI API key. The screen says so directly: only the OpenAI API is supported for the Assistants API. Azure works if you have an Assistants deployment configured — see Microsoft Azure OpenAI.

Creating an assistant#

Add New Assistant

FieldWhat it is
Assistant NameRequired. How it appears in selectors
Assistant ModelRequired. Which model it uses
Assistant DescriptionWhat it is for
Assistant Context PromptIts instructions — the equivalent of a system prompt
Assistant First MessageOpening message when used as a chatbot
Assistant AvatarAvatar image
Assistant FilesFiles it can search
Assistant FunctionsFunctions it may call
Code InterpreterWhether it can run code
Assistant OpenAI IDThe OpenAI-side ID
Assistant Local IDThe WordPress-side ID

Assistants are stored as aiomatic_assistants posts, and a set of examples plus a persona library is imported on first activation.

Backup/Restore Assistants exports and imports them as JSON, which is how you move a tested assistant between sites.

Where an assistant can be used#

Almost anywhere a model can be selected — the writer, each rule stage, the chatbot, the editor, forms, [aicontent], embeddings, internet access and OmniBlocks.

Assistants versus alternatives#

AssistantPersonaPlain model plus prompt
ProviderOpenAI onlyAnyAny
Instructions liveAt OpenAIIn WordPressIn the prompt field
File searchBuilt inVia embeddingsVia embeddings
Code interpreterYesNoNo
Portable between providersNoYesYes
Visitor can switchNoYesn/a

Use an assistant for its file search or code interpreter, or if you already maintain assistants at OpenAI.

Use a persona for chatbot identities, provider portability and visitor switching.

Use a plain model and prompt for everything else. It is the simplest thing that works.

Files#

Manage Assistant Files uploads files an assistant can search. This is OpenAI-side retrieval, separate from the plugin embeddings system.

Assistant filesPlugin embeddings
Stored atOpenAIYour chosen vector store
Works withOpenAI onlyAny provider
NamespacesNoYes
Indexes WordPress content automaticallyNoYes

For a WordPress knowledge base, plugin embeddings are the better fit. For a set of PDFs an assistant should know, assistant files are simpler.

Functions#

Assistant Functions defines functions the assistant may call, handled through the plugin tool calling system.

Token limits#

Assistant Max Prompt Token and Assistant Max Completion Token (Settings › Advanced AI Settings) bound assistant runs, which is worth setting because assistant runs can otherwise consume a lot of context.

Threads#

Conversations with an assistant use OpenAI threads. Filters let you control thread selection:

FilterPurpose
aiomatic_thread_idChoose the thread
aiomatic_thread_id_try_fixRecover from an invalid thread
aiomatic_assistant_id_custom_logicChoose the assistant dynamically
aiomatic_assistant_id_fallbackFall back when unavailable
aiomatic_local_assistant_id_id_fallbackThe local-ID equivalent

See Filter reference.

Common problems#

The Assistants screen says OpenAI only. No OpenAI key configured.

An assistant does not appear in a selector. It was created at OpenAI but not synced, or the model it uses is no longer available.

The model selector is greyed out. Expected — an assistant is selected.

File search returns nothing. Files are still processing at OpenAI, or the assistant does not have retrieval enabled.

Still stuck? Open a support ticket and include the diagnostics from Aimogen Pro › System & Logs › System Info.