Skip to content

Commit

Permalink
Update rpm build and readme with gpt4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
spideyz0r committed Aug 15, 2023
1 parent e196d85 commit 127af1b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@ go build -v -o gpt-cli-chat

## Usage
```
# gpt-cli-chat
Usage: gpt-cli-chat [-hs] [-a value] [-d value] [-r value] [-t value] [-w value] [parameters ...]
-a, --api=value API key (default: OPENAI_API_KEY environment variable)
# gpt-cli-chat --help
Usage: gpt-cli-chat [-hs] [-a value] [-d value] [-m value] [-S value] [-t value] [-w value] [parameters ...]
-a, --api=value API key (default: OPENAI_API_KEY environment variable)
-d, --delimiter=value
set the delimiter for the user input (default: new line)
-h, --help display this help
-r, --system-role=value
system role (default: You're an expert in everything. You
like speaking.)
-s, --stdin read the message from stdin and exit (default: false)
set the delimiter for the user input (default: new line)
-h, --help display this help
-m, --model=value gpt chat model (default: gpt-4)
-s, --stdin read the message from stdin and exit (default: false)
-S, --system-role=value
system role (default: You're an expert in everything. You
like speaking.)
-t, --temperature=value
temperature (default: 0.8)
temperature (default: 0.8)
-w, --output-width=value
output width (default: 80)
output width (default: 80)
```

## Examples
Expand Down
5 changes: 4 additions & 1 deletion rpm/gpt-cli-chat.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%global go_release go1.18.10

Name: gpt-cli-chat
Version: 0.2
Version: 0.3
Release: 1%{?dist}
Summary: gpt-cli-chat tool
License: GPLv3
Expand Down Expand Up @@ -35,6 +35,9 @@ install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name}
%license LICENSE

%changelog
* Tue Aug 15 2023 spideyz0r <47341410+spideyz0r@users.noreply.github.com> 0.2-1
- Add support to GPT 4

* Thu Apr 13 2023 spideyz0r <47341410+spideyz0r@users.noreply.github.com> 0.2-1
- Bump version

Expand Down

0 comments on commit 127af1b

Please # to comment.