The AI() function is designed for working with Artificial Intelligence (AI) directly in the Excel (LibreOffice Calc) worksheet.
As AI, this function uses the large language model Google "Gemini" and can be used in any formulas both independently and in conjunction with other standard functions.
=AI(Prompt; [Context])
The AI() function is easy to use. You just need to specify the prompt and additional data, and Excel (Calc) will automatically return a response from the AI:
=AI(Prompt; Context)
We will get the following result:
In this example, the following values are used:
You can use the function AI() by installing the extension YLC Utilities.
After this, the function will be available in all files opened in Excel (LibreOffice Calc).