Chatbot¶
An AI assistant window that answers questions about how to use AFDEX, reviews the open simulation result, and proposes a forging process from an attached drawing (PDF, image or 3D model).
Click Chatbot in the Pane group of the View tab to show or hide the window.
To get AI answers, you need an API key for Claude (Anthropic) or ChatGPT (OpenAI). See How to get an API key. If no API key is set, the chatbot does not use AI and only shows the manual sections related to your question.
Caution
Answers can be wrong. Always check them with the linked manual pages and with simulation.
Buttons¶
-
Send
Sends the question you typed. While an answer is being received, click it again to stop the answer. -
New chat
Clears the conversation and starts a new one. -
Settings
Opens the chatbot settings menu. See Settings. -
Attach
Adds files to send with the next question (Add files...) or removes all attached files (Remove attachments). You can attach up to 5 PDF, image (PNG, JPG, GIF, WebP) or 3D model (STEP, IGES, STL) files to one question. Attached files are sent only whenSend simulation data and attachmentsis on and search-only mode is off.
Below each AI answer, Helpful / Not helpful rating links and the token usage (input, cached, output, and total for the current chat) are shown.
Ratings are saved only on this PC.
Settings¶
Clicking the Settings button shows the following menu.
-
Search only (no AI)
Does not use AI and only shows the manual sections related to your question. No data is sent outside. If no API key is set, the chatbot works in search-only mode even when this item is not checked. -
Send simulation data and attachments
Sets whether data from the open simulation result (values, load curves, screenshots) and attached drawings are sent to the AI service. When unchecked, the chatbot answers using only your question and the related manual sections, without simulation data and attachments. A consent message appears the first time you ask a question; afterwards you can change it with this item.Note
Simulation data and drawings may contain confidential company information. Check your company's security policy before use.
-
Model
Selects the AI model used for answers. Only one model across theClaudeandChatGPTsubmenus can be selected, and selecting a model also switches the AI provider. The currently selected provider and model are checked.Provider Model Model ID Claude Claude Fable 5.1 claude-fable-5-1Claude Claude Opus 5.5 (default) claude-opus-5-5Claude Claude Sonnet 5.5 claude-sonnet-5-5Claude Claude Haiku 5.5 claude-haiku-5-5ChatGPT GPT-6 Astra (default) gpt-6-astraChatGPT GPT-6.1 Sol gpt-6.1-solChatGPT GPT-6 Luna gpt-6-luna-
Claude>Legacy models
Selects a previous-generation model such as Claude Fable 5, Opus 5, Opus 4.8 / 4.7 / 4.6 / 4.5, Sonnet 5, Sonnet 4.6 or Haiku 4.5. -
Other model ID...
Enter a model ID directly to use a model that is not in the list. Entering it from theClaudesubmenu switches the provider to Claude, and from theChatGPTsubmenu to ChatGPT. If left empty, the default model is used (Claude:claude-opus-5-5, ChatGPT:gpt-6-astra).
-
-
API endpoint... (Claude)/API endpoint... (ChatGPT)
Sets the API address of the currently selected provider. Change it only when you connect through a company proxy server; if left empty, the default address is used.- Claude:
https://api.anthropic.com - ChatGPT:
https://api.openai.com
- Claude:
-
API key... (Claude)/API key... (ChatGPT)
Sets the API key of the currently selected provider. Claude and ChatGPT keys are stored separately. For security, the saved key is not displayed. Leave the field empty and click OK to keep the current key, or enter-to remove it. If no key is entered, the value of the environment variableANTHROPIC_API_KEY(Claude) orOPENAI_API_KEY(ChatGPT) is used. -
Workspace ID...
Shown only when Claude is selected. Enter a workspace ID (wrkspc_...) only when the API key is not scoped to a workspace; otherwise leave it empty. -
Manual folder...
Sets the manual folder used as the basis for answers (the folder that contains<lang>\afdex-sp\*.md). If left empty, theManualfolder in the program installation folder is used. -
Design knowledge folder...
Sets the folder that contains the process design knowledge documents (*.md). If left empty, theKnowledgefolder in the program installation folder is used. -
Open answer feedback log
Opens the answer rating log file (Documents\AFDEX_Chatbot\feedback.jsonl), which stores yourHelpful/Not helpfulratings, in File Explorer.
How to get an API key¶
To use AI answers, get an API key from the provider you want to use and enter it in Settings > API key....
API usage is billed separately by each provider based on usage (tokens), so you need to register a payment method or purchase credits before using the key.
Note
The steps below are as of October 2026. The screens and menu names of each site may change.
Anthropic (Claude)¶
- Go to the Claude Console and sign in. Create an account if you don't have one.
- In
Settings>Billing, register a payment method and purchase credits. - Go to the API keys page (
platform.claude.com/settings/keys). - Click
Create key, then enter a key name and select an expiration. If needed, select the workspace the key belongs to. - Copy the created key (starting with
sk-ant-). The key is shown only once, when it is created, so store it somewhere safe. If you lose it, create a new key. - In the AFDEX chatbot window, select a model in
Settings>Model>Claude, then paste the key inSettings>API key... (Claude).
Tip
If the Create key button is disabled, your role in the organization does not allow creating keys. Ask an organization admin to change your role or to create a key for you.
If you use a key that is not scoped to a workspace, you may need to enter the workspace ID in Settings > Workspace ID....
OpenAI (ChatGPT)¶
- Go to the OpenAI Platform and sign in. Create an account if you don't have one. (A ChatGPT subscription and API usage are billed separately.)
- In
Settings>Billing, register a payment method and purchase credits. - Go to the API keys page (
platform.openai.com/api-keys). - Click
Create new secret key, enter a key name, select the project the key belongs to, and create the key. - Copy the created key (starting with
sk-). The key is shown only once, when it is created, so store it somewhere safe. If you lose it, create a new key. - In the AFDEX chatbot window, select a model in
Settings>Model>ChatGPT, then paste the key inSettings>API key... (ChatGPT).
Keep your API key safe
An API key works like a password. Do not share it with others or leave it in documents or emails. If you suspect a key has been leaked, delete it immediately on the provider's API keys page and create a new one.