lm-studio-api 0.1.5

This API is designed for interacting with LM Studio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![allow(unused_imports)]

pub use crate::{ StdResult, Result, Error };
pub use crate::{ Chat, Model, SystemInfo, Messages, Message, Role, Content, Image, Prompt, Embeddings, Context, Format, Schema, SchemaKind };

pub(crate) use macron::*;
pub(crate) use serde::{ Serialize, Deserialize };

pub(crate) use std::collections::HashMap;
pub(crate) use std::format as fmt;
pub(crate) use std::future::Future;
pub(crate) use std::sync::{ Arc, Mutex as StdMutex };
pub(crate) use std::pin::Pin;
pub(crate) use std::path::PathBuf;

pub(crate) use serde_json::{ self as json, json, Value };

pub(crate) use tokio::sync::Mutex;