28 29 30 31 32 33 34 35 c, _ := gpt35.NewClient(api_key) fmt.Println("INPUT:") in := bufio.NewReader(os.Stdin) line, err := in.ReadString('\n') fmt.Scanln(&line) req := &gpt35.Request{ Model: gpt35.ModelGpt35Turbo, Messages: []*gpt35.Message{ { Role: gpt35.RoleUser, Content: instruct, }, { Role: gpt35.RoleUser, Content: fmt.Sprintf("INPUT:\n%v", line), }, }, } GPT based Emotion Classification Sample