langwhat
1.0.0
ตอบว่า "มันคืออะไร" บนบรรทัดคำสั่งที่มีพลังของโมเดลภาษาขนาดใหญ่ (LLMs)
py what llm เวอร์ชันใช้ประโยชน์จาก Openai API และ Sydney (Bing Ai Chat)
langwhat ' f7316ffccd4d2d555a7522328cf792dd73bfbcd9 '
langwhat ' f7316ffccd4d2d555a7522328cf792dd73bfbcd9 ' --zh
ซิดนีย์แก้ไขประเภท "แต่งงาน" ของฉันโดยอัตโนมัติ
langwhat ' marry ball washington ' -s
langwhat ' marry ball washington ' -s -z
การตอบสนองเร็วขึ้นมากเมื่อแคชกระทบและการใช้โทเค็นกลายเป็น 0
โปรดทราบว่าซิดนีย์ไม่สนับสนุนการใช้โทเค็นและแสดง 0 เสมอ
lw teddy --show-token-usage
lw teddy --show-token-usage
~/.config/langwhat/api_key.txt-sนี่คือวิธีการติดตั้งที่แนะนำ
$ pipx install langwhat
# python 3.11 or higher is required, if your pipx uses a lower version of python by default,
# you could run the following command to install langwhat with python 3.11
# pipx install --python "$(which python3.11)"
$ pip install langwhat
$ langwhat --help
usage: lw [-h] [-z] [-s] [-C] [--show-token-usage] [-V] what
positional arguments:
what what is it
options:
-h, --help show this help message and exit
-z, --zh Use Mandarin to prompt and answer
-s, --sydney Use Sydney (Bing AI) instead of OpenAI
-C, --no-cache Disable cache
--show-token-usage Show token usage
-V, --version show program's version number and exit
$ git clone https://github.com/tddschn/langwhat.git
$ cd langwhat
$ poetry install