Skip to content

Commit

Permalink
ft(artifacts): updated
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantprateek committed Aug 22, 2023
1 parent 4c074ad commit ac04555
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ go-gpt:
@go get .

build:
@go build -o bin/go-gpt cmd/go_gpt.go
@go build -o bin/go-gpt cmd/go_gpt/go_gpt.go

# Generate build for cross-compilation
go-build-win:
@GOOS=windows GOARCH=amd64 go build -o bin/go-gpt cmd/go_gpt.go
@GOOS=windows GOARCH=amd64 go build -o bin/go-gpt cmd/go_gpt/go_gpt.go

go-build-linux:
@GOOS=linux GOARCH=amd64 go build -o bin/linux/go-gpt cmd/go_gpt.go
@GOOS=linux GOARCH=amd64 go build -o bin/linux/go-gpt cmd/go_gpt/go_gpt.go

go-build-mac:
@GOOS=darwin GOARCH=amd64 go build -o bin/macos/go-gpt cmd/go_gpt/go_gpt.go

tidy: ## add missing and remove unused modules
go mod tidy
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ To view logs from the Docker container, use the following command:

## 🏗️ Features to work on

- [ ] Print the response in typing manner
- [ ] Loader for during response generation process
- [ ] Maintain `.go-gpt` just like `.git` to maintain the chats histories and responses.
- [ ] Token Streaming Over CLI
- [ ] Implement a loading indicator during response generation.
- [ ] Add a `.go-gpt` history file to maintain chat histories and responses.

## 😉 Author

Expand Down
2 changes: 1 addition & 1 deletion response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"id":"chatcmpl-72LS3m5QtOqJCDExtUye065AdFHLG","object":"chat.completion","created":1680793471,"model":"gpt-3.5-turbo-0301","usage":{"prompt_tokens":9,"completion_tokens":9,"total_tokens":18},"choices":[{"message":{"role":"assistant","content":"Hello! How can I assist you today?"},"finish_reason":"stop","index":0}]}
{"message":"Too Many Requests"}
9 changes: 9 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@


sudo cp ./bin/go_gpt /usr/local/bin


# or
cd go-gpt
export PATH="$PWD/bin/go_gpt"
source ~/.bashrc

0 comments on commit ac04555

Please sign in to comment.