Module chat_flame_backend::api
source · Expand description
The api
module contains the definitions and implementations of the API endpoints.
This includes routes for generating text, streaming responses, retrieving model information, etc.
The api
module provides the necessary components to build the API for the chat-flame-backend.
It includes definitions for models, routes, and OpenAPI documentation.
This module is responsible for handling all the HTTP requests and responses, structuring the JSON data, and providing the necessary endpoints for the application.
Modules
- This module defines the data structures used for API requests and responses. These include various types of responses for text generation, error handling, and information about the model and generation parameters.