mirror of
https://github.com/TabbyML/tabby
synced 2024-11-22 17:41:54 +00:00
docs: Crate doc comments (#1168)
* doc: Add basic doc comments describing most of the tabby crates * Apply suggestions from code review Co-authored-by: Meng Zhang <meng@tabbyml.com> --------- Co-authored-by: Meng Zhang <meng@tabbyml.com>
This commit is contained in:
parent
f9dc54ad50
commit
81f46dc583
@ -1,3 +1,4 @@
|
||||
//! Bindings to raw C++ LLaMA implementation. implements the TextGeneration trait and being used in tabby to generate text / code.
|
||||
mod llama;
|
||||
mod utils;
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
//! Common tabby types and utilities.
|
||||
//! Defines common types and utilities used across multiple tabby subprojects, especially serialization and deserialization targets.
|
||||
pub mod api;
|
||||
pub mod config;
|
||||
pub mod index;
|
||||
|
@ -1,3 +1,4 @@
|
||||
//! Responsible for downloading ML models for use with tabby.
|
||||
use std::{fs, path::Path};
|
||||
|
||||
use aim_downloader::{bar::WrappedBar, https};
|
||||
|
@ -1,3 +1,4 @@
|
||||
//! Lays out the abstract definition of a text generation model, and utilities for encodings.
|
||||
pub mod decoding;
|
||||
|
||||
use async_trait::async_trait;
|
||||
|
@ -1,3 +1,5 @@
|
||||
//! Responsible for scheduling all of the background jobs for tabby.
|
||||
//! Includes syncing respositories and updating indices.
|
||||
mod dataset;
|
||||
mod index;
|
||||
mod repository;
|
||||
|
@ -1,3 +1,4 @@
|
||||
//! Core tabby functionality. Defines primary API and CLI behavior.
|
||||
mod routes;
|
||||
mod services;
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
//! Defines behavior for the tabby webserver which allows users to interact with enterprise features.
|
||||
//! Using the web interface (e.g chat playground) requires using this module with the `--webserver` flag on the command line.
|
||||
mod handler;
|
||||
mod hub;
|
||||
mod oauth;
|
||||
|
Loading…
Reference in New Issue
Block a user