Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
AI TOOLS is designed for developers who want to use the Infomaniak LLM in their applications.
What is AI Tools?
AI Tools is an LLM (Large Language Model), a type of machine learning model that has been trained on a massive dataset of text and code. LLMs are capable of generating text, translating languages, writing various types of creative content, and answering questions in an informative way.
To stay true to its values, Infomaniak offers in its kSuite tools an LLM based on one of the most powerful open-source models available on the market.
This sovereign artificial intelligence can assist you, for example, with drafting, rephrasing, or translating your emails.
AI Tools allows you to connect your compatible libraries or frameworks via API, without an interface.
The API documentation can be found at https://developer.infomaniak.com/docs/api and contains information about available methods, parameters, and examples.
Getting AI Tools
To use AI Tools, you need to create an API token.
Then, to access AI Tools and for example, check its daily usage:
- log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox
- click on the ‍ icon at the top right of the interface (or navigate via the left sidebar menu, for example)
- choose AI Tools (Cloud Computing universe)
Only one product can exist per organization, but multiple API tokens can be created.
AI Tools can be used by the following users:
- legal representative of the organization
- organization administrators
- organization collaborators with technical rights
Billing
- API billed on credit
- each request consumes one credit or LLM token *
- billing is accessible to legal representatives and administrators
- collaborators with technical rights have access to documentation but not invoices
- a credit card is required to start using the API
- an unpaid invoice will result in service suspension
- a spending limit can be set by a user with billing rights in the organization and on the product to control unforeseen costs
- rates are listed on the sales page
* LLM tokens (not to be confused with API tokens) are basic units used by language models to process and generate text. Each token generally represents a word, a part of a word, or an entity in a text corpus and is used for learning and generating natural language.
This guide concerns Infomaniak products which integrate the use of artificial intelligence, in particular kChat, kDrive, Mail, Site Creator…
Responsibilities of the parties
Data provided to AI
- The Infomaniak AI is currently based by default on
mixtral8x22b
.GPT4 turbo
is a voluntary option left to the user's choice kChat / Mail.- Audio messages are transcribed with
Whisper
. Llama 3
is available for API AI Tools.
- Using an editorial assistant, messages and requests addressed to the AI are handled exclusively in Switzerland by the Infomaniak infrastructure.
- No data is processed or shared with a third party.
Data provided by AI
- The language model generates text based on the data it has assimilated when learning, without conscience, intentions or moral responsibilities.
- It is crucial that the user is aware that the information generated by the model is not always accurate and should not be seen as an indisputable source of information.
- He must exercise his critical discernment and check the information provided by the assistant from reliable sources where necessary.
- For example, if a person uses the template for critical tasks such as medical, legal or financial advice, he or she must take additional precautions to confirm the information from the template.
- In case of improper or dangerous use of this assistant, the responsibility lies with the user who takes these actions.
This guide details the creation of illustrations within Ai Tools by Infomaniak.
Introduction
- Ability to create images (from 1 to 4 images per generation) from a prompt.
- Option to adjust certain image parameters such as format (square, portrait, landscape) and rendering (more or fewer details).
- The homepage showcases example images for inspiration.
- Generated images are available in the history for 30 days.
- The public AI Tools API uses the
SDXL
/flux
models.
Generate an image with Ai Tools
To access the artificial image generation tool:
- Click here to manage your product in the Infomaniak Manager (need help?):
- Click on the SDXL language model:
- Write the prompt needed to model your idea and then click on the icon:
This guide concerns authentication chips or tokens Infomaniak, which is used to verify the identity of the application and to grant it specific permissions to interact with the features and data of the application Infomaniak API in a secure manner.
Preamble
- Authentication chips or tokens are used to verify the identity of the application and to grant specific permissions to interact with the Infomaniak API's functionality and data in a secure manner.
- There's no such thing as no limit on number of token that you can create.
- The duration of an access token is "enlightened" by default but it is possible to define a custom duration at its creation.
- Be careful, if no call is made with the token for a year, it is automatically deactivated then it will be necessary to generate a new one.
Manage token API Infomaniak
When creating an API token, you will be able to choose the application and scope accessible by the token (in order to match your current need and project).
To this end:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click the blue button Create a token.
- Choose the right product from the drop-down menu according to your current need and project.
- Choose a period of validity.
- Click the blue button Create a token.
- Enter the login password to the Manager as requested.
- Copy the token in a safe place - it will no longer be accessible after that.
Example of application: token for API Newsletter
This guide explains how to customize the type of language used within discussions and interactions with the AI Tools Infomaniak conversational agent.
Introduction
- By default, responses and elements within a conversation with a bot in AI Tools will be of the “usual” type, the assistant is named “Infomaniak Assistant” and its description is clear:
- It is entirely possible to invent and extremely customize a style that must be followed to the letter by the bot during interactions
- Once the method is saved, you can reuse it and switch between different ones according to your needs
Customize the AI Tools Language Model
To create a new “system prompt” and use it:
- log in to Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Edge
- click the icon at the top right of the interface (or navigate using the left sidebar, for example)
- select AI Tools (in the Cloud Computing universe)
- click on a language model to start configuring a conversation
- click on Edit the current conversational assistant
- click on ‍ New below the choice of the conversational assistant
- give a title to the oriented conversation you are configuring
- provide the necessary prompt for configuring your bot, detailing whether it should behave like... a terminal... a specialized translator... etc. (examples of prompts)
- save the changes
You can now start a conversation and get different responses or elements based on the behavior inherent to the chosen system prompt:
It is also possible to choose a model for each conversation (learn more about models and responsibilities).
All these new settings are available in a sidebar accessible on the right side of the screen from all conversations.