文件历史

提交图

159 次代码提交

作者 SHA1 备注 提交日期
Simon Willison 7054c673e1 Better type hint for iter_prompt method
The Generator thing is only useful if the method uses the send mechanism

Declaring it an Iterator gives people more flexibility for how they implement it.
2023-07-02 11:18:31 -07:00
Simon Willison f3f38c0c02 Initial experimental response.reply() method 2023-07-01 13:29:54 -07:00
Simon Willison 664fca165b .stream is now in base Response class 2023-07-01 13:29:27 -07:00
Simon Willison 9ac120fae4 Upgrade to pydantic 2 using bump-pydantic, refs #74 2023-07-01 11:53:54 -07:00
Simon Willison 9afc758cd7 Pass model to the Response 2023-07-01 11:29:41 -07:00
Simon Willison ffe4b6706d Model.stream() and .get_key() methods 2023-07-01 09:03:07 -07:00
Simon Willison 5e056fad8a Implemented PaLM 2, to test out new plugin hook - refs #20 2023-06-26 08:25:01 -07:00
Simon Willison 5103f77c40 New mechanism for handling API keys for models 2023-06-26 08:05:48 -07:00
Simon Willison 274126d9f8 WIP register_models() plugin hook, refs #53 2023-06-26 07:43:46 -07:00