LogoLogo
Home
  • Introduction
  • Quickstart
    • Starter guide
    • Core Concepts
      • Stack Type
      • Data Loader
      • Inputs/Outputs
      • Text Splitters
      • Embedding Model
      • Vector Store
      • Large Language Model
      • Memory
      • Chain
    • Testing Stack
    • Deployment
    • Knowledge Base
    • Organization and Teams
    • Secret Keys
    • Logs
  • Components
    • Inputs
    • Outputs
    • Document Loaders
    • Prompts
    • Text Splitters
    • Embeddings
    • Vector Store
    • Retrievers
    • Multi Modals
    • Agents
    • Large Language Models
    • Memories
    • Chains
    • Output Parsers
  • Customization
    • Writing Custom Components in GenAI Stack
    • Build your own custom component
    • Define parameters used for required components
  • Usecases
    • Simple QA using Open Source Large Language Models
    • Multilingual Indic Language Translation
    • Document Search and Chat
    • Chat with Multiple Documents
  • Terminologies
    • RAG - Retrieval Augmented Generation
    • Hybrid Search - Ensemble Retriever
  • REST APIs
    • GenAI Stack REST APIs
    • Chat API Reference
    • Text Generation API Reference
    • Rate Limiting and Sleep Mode
  • Troubleshooting
    • How to verify what is loaded and chunked from the loader?
  • Acknowledgements
    • Special Mentions
Powered by GitBook
On this page

Was this helpful?

  1. Components

Inputs

PreviousLogsNextOutputs

Last updated 11 months ago

Was this helpful?

Input

The Input serves as the entry point and allows users to specify the input. It provides flexibility by supporting three different types of input values, including Text, File, and URL.

Parameters

  • Input Key: A unique identifier for the input value.

  • Input Type: Specifies the type of input value, such as Text, File, or URL.

  • Input Value: The actual input value, which can be a File path, URL, or Text. This parameter is optional.

Connecting an Input component will allow you to upload your file/URL/text(allows multiple files/URL/text as well) in your deployed chat interface. This feature won't be available unless the Input component is attached here. This is also required for the Text Generation stack type.

Adding an Input component in your Stack results in the Upload File option appearing in the Input variables sidebar on deployment.

This is the result of including the Input component in your stack, since it was attached to a PDF file loader and the input is of File type, you get an option to upload PDF on the sidebar. Similarly, different Input type will have their respective Input feature on the sidebar.

Example

In the below examples the Input component is the input to the PyPDFLoader and HumanPromptTemplate components.

Choosinng Input type and connecting to Document loader
File upload option on deployment screen