8000 GitHub - vitali2y/mistral-chat: Simple Rust CLI chat with Mistral AI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vitali2y/mistral-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Rust CLI chat with Mistral AI

export MISTRAL_API_KEY=XXX  # free from https://console.mistral.ai/api-keys# building
 ✗ cargo r --release
~...~
 ✗  # testing
 ✗ ./target/release/mistral-chat "In Rust what is the difference between Fn, FnMut, and FnOnce?"  # simple prompt as a CLI param
~...~
 ✗ cat my_question.md | ./target/release/mistral-chat  # prompt as a stdin pipe, e. g. from Markdown file with your code and detailed question
~...~
 ✗ code2prompt . -t ./my-simple-prompt.hbs -O my-project-$(date +%y%m%d%H%M).md  # using code2prompt for generating basis of my project
~...~
 ✗

About

Simple Rust CLI chat with Mistral AI

Topics

Resources

License

Stars

Watchers

Forks

Languages

2901
0