Elephant AI integrates with the Responses API to provide artificial intelligence to and from all Elephant modules.
Site administrators can decide which group of users is able to use the chat with the AI models. Once in the chat, the user will be able to ask questions, and receive answers in natural language, using the same language he uses to ask the questions.
Questions can be related to the information provided or to Elephant modules data. For example, Which projects use JakartaEE?, Which partners offer this service?, What's the purpose of this site?, and so on.
Elephant AI also allows calling the AI models with operation-oriented instructions, to provide a more generic answer in natural language or a specific format.
API Key from a valid implementation.Personalities, to provide different behaviors (currently CHAT and CREATOR).Personalities based on user's role.Developer and System instructions to ensure a correct behavior and compatibility with user language.Tools from all modules to instruct responses with real data.On-site chat with the AI models.natural language, or in a specific format.files accessible to the models.Length of Knowledge aims to provide different content (answers) to different kind of users, mainly based on user's role, but also user self identity. This model also has a big impact on token expenses.
Elephant adds new context functionality related to the Elephant AI project.
API Key from a valid implementation.When editing a context, you can select it as a feed for the AI models. It's important to keep in mind that the Vector DBs will be fed with the HTML content transformed to Markdown.
Keep the content easy to understand for your intended target. Create captions to clarify different sections. You can upload images for the web, but only the text will be used to feed the AI models. Use bold for important parts of the text, or italic, or monospaced.
As it happens with specific Markdown content for the AI models, it's important to follow the best practices. The AI models will cross-reference the information you provide, unless instructed not to (but what's the fun then?). You should review the nomenclature to allow good cross-references.
An example of Elephant Wiki using best practices:
In some context
---++Projects The projects ...
In another context
See **Projects** to ...
Elephant AI can be configured to respond to live-data. This is the list of properties, some associated to an AI Personality:
| Property | Description |
|---|---|
| AI.API.Implementation | Could be OpenAI, Anthropic and Gemini. |
| AI.API.APIKEY | The API Key from a valid implementation. |
| AI.Run.Help | If set, it's an address to your own description of what the AI provides. |
| AI.Run.Debug | Adds information about the steps the AI is using. |
AI.Personality.Model |
The model used by the AI Personality. |
AI.Personality.VectorStoreIDs |
Storage ID where your selected content will be uploaded. |
AI.Personality.AccessRole |
The role required to interact with the AI Personality. |
AI.Personality.IconButton |
If true, shows a fixed position icon. |
AI.Personality.DossierRoots |
Category IDs of the projects will be sent to the AI Personality. |
AI.Personality.ContactsRole |
Contacts with the given roles will be sent to the AI Personality. |
AI.Personality.UserDocs |
User documentation will be sent to the AI Personality. |
This is a brief description of current personalities and how they are used:
CHAT |
The main personality, the one you'll be using first. The Ask AI chat uses this configuration. The features of this personality are:
|
CREATOR |
The CREATOR personality aims to generate content. The main goal is to be attached to content editors. Whether is available to admins and/or users is controlled by the AccesRole, same as for CHAT.
|
External content can be made available to Elephant AI. The external content will be fed to the assistant using specific instructions and files.
| Description | |
|---|---|
| Title | The title is meant for the user to navigate contents. Keep the name simple and meaninful. |
| Active | Active AI content will be fed to the assistant. The main use of active is to allow editing without publishing. |
| Restricted | When restricted, the content is only available to Premium Networking users and admins. Otherwise, the content is available to any user with permission to access the assistant. |
| Instructions | The instructions will tell the assistant how and when to use the information provided by the files. At this point it's important to follow some rules:
|
| Documents | The documents you upload will be fed to the assistant. You can use as many formats as you want. Have in mind, though, that the most common formats will work better. That is, using plain text, with strong markup for starting/ending each item in the file, may work better.
Keep in mind:
|