# AI Models repository

For each AI system you register, you'll need to enter the AI model(s) used.

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2F2a9yHyQAWMqrOI8nBrqV%2FCapture%20d&#x27;%C3%A9cran%202024-06-14%20174553.png?alt=media&#x26;token=43e28e06-3a55-46e4-9d22-84ef8ab18464" alt=""><figcaption><p>AI Models repository</p></figcaption></figure>

## Definition

An artificial intelligence model can be defined as a computer program designed to perform specific tasks using machine learning and data analysis techniques. Here's a more detailed definition:

* **Foundations** : An AI model is based on specific algorithms and architectures (such as neural networks for deep learning) that enable learning from data.
* **Learning**: This is trained by processing large data sets to identify patterns and relationships.This enables the model to make predictions or generate content based on the new data it receives.
* **Functionality**: This is the purpose for which the model is used.For example: image generation for the MidJourney model.
* **Use**: These models are deployed in a wide range of applications, from chatbots and virtual assistants to data analysis and content creation, providing advanced, automated solutions in a variety of fields.

## Create your AI models repository with Dastra

To create a repository, go to the "AI Models" tab.

Then click on the "Create an AI model" button. A window opens in which you can enter the required information.

Don't be afraid to go into great detail in the description section, adding the features and information you have on the model.

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2FOPFUZCn5pP8hPDz7tdTm%2FCapture%20d&#x27;%C3%A9cran%202024-06-14%20175214.png?alt=media&#x26;token=1cdd50b2-54da-4539-9631-c16598506b68" alt=""><figcaption><p>Register a new AI Model</p></figcaption></figure>

You will also need to select its training type. The learning type of an AI model refers to the method by which the model is trained to perform its tasks. Each type is adapted to specific applications and influences the way the model generalizes the knowledge acquired. There are 4 of them, and you'll find a definition next to each one to help you choose.

## Link between AI Systems et Models

To link an AI system to a model, go to the AI system concerned. In the second section, entitled "AI Models", you'll find a selector from which you can choose one or more models from those you have saved in your model repository.

elect the models concerned, then fill in the "description of use" field. This explains how the model is used in the AI system concerned.

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2FuAOhTm2v4dHdhpJO8D0K%2FCapture%20d&#x27;%C3%A9cran%202024-06-14%20175356.png?alt=media&#x26;token=a12d2384-9008-4db7-911c-b1a28fb8dfa3" alt=""><figcaption><p>Link an AI system to a model</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.dastra.eu/en/features/ai-systems/ai-models-repository.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
