Commit Graph

6 Commits

Author SHA1 Message Date
51d6a27017 Adds streaming generation that returns a streaming
- Introducues generate_content_stream that returns a Tokio Steam instead
of a Queue. This allows using the standard stream APIs from
tokio-streams.
- Replace future-utils with tokio-streams, mainly due to better
ergonomics for using the filter_map stream combinator.
2025-04-05 19:18:33 +01:00
56d6b95c53 Add shortcuts for commonly used functions 2024-11-27 15:57:18 +00:00
db5a01afef Adds more builders 2024-11-27 15:11:01 +00:00
326b3919d1 Add builders for GenerateContent and CountToken 2024-11-26 20:27:36 +00:00
c4e9f78ec9 Make content role optional 2024-06-09 10:07:00 +01:00
b8f2b7e85e Refactor types into separate files 2024-02-23 18:25:32 +00:00