赞,我之前用 hotwire 写了个 demo,录了期视频。不过我当时用的 openai 库没有提供 stream 参数,所以没有做 stream 返回。看你文末引用的 gist 已经实现了。

1
所有回复 0
- END -

Rei

@Rei

Ruby 程序员,Ruby China 管理员,GeekNote 创建者。

加入于 2021年6月