Skip to content

kdhht2334/LLM_APIs_with_Rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LLM APIs with Rust

This repository contains LLM APIs with Rust language.

Method

This repo is heavily inspired by kalosm.

  1. Create a new project:
cargo llm_apis
cd ./llm_apis
  1. Add Kalosm as a dependencies
cargo add kalosm
cargo add tokio --features full
cargo add tiktoken-rs = "0.5.9"
  1. Run main.rs as below.
  • For Windows
LIBCLANG_PATH=/path/to/clang+llvm-XX.X.XX-x86_64-pc-windows-msvc/lib cargo run --release

References

About

LLM APIs with Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages