> For the complete documentation index, see [llms.txt](https://docs.aiplanet.com/genai-stack-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aiplanet.com/genai-stack-1/quickstart/core-concepts/inputs-outputs.md).

# Inputs/Outputs

### Input

Inputs and Outputs are the primary way in which you can define the start and end of a stack. This is useful in **Text Generation** usecases where you would have to define what parameters are given to the stack and what outputs you are getting from the stack.&#x20;

The Input component can basically attach with a Data Connector or with the Prompt Template. The input\_type should be chosen appropriately depending to which component you are connecting it to. \
\
If you are connecting the Input Component to a File Loader the input\_type of *"File"* should be chosen.&#x20;

<figure><img src="/files/P1yNNd7bWUP1IyytKald" alt=""><figcaption></figcaption></figure>

If you are connecting the Input Component to a Prompt Template the input\_type of *"Text"* should be chosen.&#x20;

<figure><img src="/files/it6UBjslHBarVzWq0qvk" alt=""><figcaption></figcaption></figure>

**NOTE:** Including this Input component allows user to upload multiple inputs (File/URL/text) in a side bar in the deployed page. Find an example of how this works in the [Deployment page](/genai-stack-1/quickstart/deployment.md).

To know more about Input components and their interfaces refer the [Input Component Documentation](/genai-stack-1/components/inputs.md).

### Output

Output Component is basically for receiving and storing the end result and making it downloadable as well it can connect with any component which returns **"Documents"** as an output.&#x20;

<figure><img src="/files/TfPy4FQBBVh6h7GYm3g2" alt=""><figcaption></figcaption></figure>

To know more about Output components and their interfaces refer the  [Output Component Documentation.](/genai-stack-1/components/outputs.md)
