Configure RAG Account
Sets up a RAG account to use by name, given an endpoint and an API key.
See also
Options
-
RAG Account Name assigns a name to this RAG account, which is used to reference this account in other RAG script steps and functions. The name can be any calculated text expression. If you set up more than one RAG account in the current file, each account name must be unique.
-
Endpoint is the URL for the API endpoint to use. Specify the endpoint as a text expression that ends with a slash (
/
)—for example, for the AI Model Server provided with FileMaker Server,"https://myserver.example.com/llm/v1/"
where myserver.example.com is the domain name or IP address. -
API Key is the key that authorizes you to use the RAG spaces associated with this key. In FileMaker Server Admin Console, the server administrator can create API keys for you to use in this option. See Creating AI API keys in FileMaker Server Help.
-
Verify SSL Certificates verifies the SSL certificate of the server specified by Endpoint. If the certificate cannot be verified in the script step that uses this account, users can choose to connect anyway or cancel to skip the script step. If the certificate cannot be verified and the Set Error Capture script step is set to On, the script step that uses this account behaves as if the server were unavailable.
Compatibility
Product | Supported |
FileMaker Pro | Yes |
FileMaker Go | Yes |
FileMaker WebDirect | Yes |
FileMaker Server | Yes |
FileMaker Cloud | Yes |
FileMaker Data API | Yes |
Custom Web Publishing | Yes |
Originated in version
22.0
Description
This script step sets up a retrieval-augmented generation (RAG) account that is available only in the current file. When the file is closed, the RAG account configuration is cleared. To use this RAG account, see the Perform RAG Action script step and GetRAGSpaceInfo function.
Example 1
Sets up a RAG account named my-rag-account
with a local endpoint.
Configure RAG Account [ RAG Account Name: "my-rag-account" ; Endpoint: "https://myserver.example.com/llm/v1/" ; API Key: "eyJhb..." ; Verify SSL Certificates]
Example 2
Sets up a RAG account for a production environment with a remote endpoint and API key stored in a global field.
Configure RAG Account [ RAG Account Name: "my-rag-account" ; Endpoint: "https://myserver.example.com/llm/v1/" ; API Key: Global::RAG_API_Key ; Verify SSL Certificates ]