generate内容
Generates content for the given LlmRequest. This returns a Flow of LlmResponses.
Parameters
request
The request containing prompt and config.
stream
Whether to enable streaming mode. If true, partial responses will be emitted.
Generates content for the given LlmRequest. This returns a Flow of LlmResponses.
The request containing prompt and config.
Whether to enable streaming mode. If true, partial responses will be emitted.