gpt_core 0.0.6

chatGPT UI's core crate. Offer the basic functionalities and mock server for chatGPT UI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Tools for interacting with the OpenAI chatGPT API.
//! The config includes the endpoint and api_key, which can be easily saved.
//! Usage example is [here](https://github.com/kingwingfly/gpt).
//! Having an openAI mock server, stream the chat.

#![cfg_attr(docsrs, feature(doc_auto_cfg))]

pub mod chat;
pub mod config;
pub mod ctx;
pub mod data;
pub mod error;
#[cfg(feature = "mock")]
pub mod mock;
pub mod model;
pub mod msg;
pub mod req;