Skip to content

Commit

Permalink
ChatGPTChatbot: apply chatgpt_chatbot 3bc527
Browse files Browse the repository at this point in the history
  • Loading branch information
cdfmlr committed Mar 11, 2023
1 parent 217441c commit eeafba8
Show file tree
Hide file tree
Showing 10 changed files with 1,020 additions and 77 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

## 启动

THE FOLLOWING DOCS ARE OUTDATED!
GOTO https://github.com/cdfmlr/muvtuber/blob/main/README.md FOR A UPDATED VERSION.

### chatbot_api

```sh
Expand Down
1 change: 1 addition & 0 deletions chatbot/chatbot.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ type PrioritizedChatbot struct {
chatbots map[model.Priority]Chatbot
}

// TODO: timeout -> try others.
func (p *PrioritizedChatbot) Chat(textIn *model.TextIn) (*model.TextOut, error) {
if textIn == nil {
return nil, nil
Expand Down
2 changes: 2 additions & 0 deletions chatbot/chatbotapi/v2/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cp: muvtuber/proto/gen/muvtuber/chatbot/v2/*.go -> .
modify(package name): chatbotv2 -> chatbotapiv2
Loading

1 comment on commit eeafba8

@cdfmlr
Copy link
Owner Author

@cdfmlr cdfmlr commented on eeafba8 Mar 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在 ChatGPTChatbot 部分解决了 #1

Please sign in to comment.