This crate contains the build.rs, data types, and behaviors for LLMs.
- Llama.cpp (through llama-server)
- Various LLM APIs including support for generic OpenAI format LLMs
You can use this crate to run local LLMs and make requests to LLMs. It's set up to be easy to integrate into other projects.
See the various Builders
implemented in the lib.rs file for an example of using this crate.
For a look at a higher level API and how it implements this crate, checkout the llm_client crate and it's lib.rs file.