langwhat
1.0.0
대답 "무엇입니까?" 대형 언어 모델 (LLMS)의 힘이있는 명령 줄에.
Openai API 및 시드니 (Bing AI Chat)를 활용하는 Pyhh Whith LLM 버전.
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