Skip to content

Commit

Permalink
📝 adds rust docs to lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
chriamue committed Dec 25, 2023
1 parent e37fdc6 commit c1ac4a0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
//! # Chat Flame Backend Library
//!
//! `chat_flame_backend` is a library for building chat application backends.
//! It leverages the power of the Candle AI framework, with a focus on the Mistral model and other language models.
//!
//! This library provides the necessary modules to set up and run a backend server,
//! handle API requests, manage configuration, and interact with language models.
/// The `api` module contains the definitions and implementations of the API endpoints.
/// This includes routes for generating text, streaming responses, retrieving model information, etc.
pub mod api;

/// The `config` module manages the application's configuration.
/// It includes functionality for loading and parsing configuration files,
/// and provides access to configuration parameters throughout the application.
pub mod config;

/// The `llm` (Language Model) module contains the implementation and utilities related to language models.
/// This includes tokenization, text generation, model interfaces, and other language model-related functionality.
pub mod llm;

/// The `server` module is responsible for setting up and running the web server.
/// It includes the definition of routes, middleware, and other server-related configurations.
pub mod server;

0 comments on commit c1ac4a0

Please sign in to comment.