第一个聊天ai

This commit is contained in:
lirui
2026-01-11 20:18:40 +08:00
commit 23ad2909e5
10 changed files with 393 additions and 0 deletions

9
main.go Normal file
View File

@@ -0,0 +1,9 @@
package main
import "enio_meowrain/chat"
func main() {
model, ctx := chat.CreateChatModel()
question := "我写的代码老是出bug搞得我很焦虑"
chat.ChatStream(model, ctx, question)
}