Class ResponseExtensions
Inheritance
object
ResponseExtensions
Namespace: Glitch9.AIDevKit.Google
Assembly: .dll
Syntax
public static class ResponseExtensions
Methods
AddContent(GenerateContentRequest, params Content[])
Declaration
public static GenerateContentRequest AddContent(this GenerateContentRequest req, params Content[] contents)
Parameters
Type | Name | Description |
---|---|---|
GenerateContentRequest | req | |
Content[] | contents |
Returns
Type | Description |
---|---|
GenerateContentRequest |
GetOutputText(GenerateContentResponse)
Declaration
public static string GetOutputText(this GenerateContentResponse res)
Parameters
Type | Name | Description |
---|---|---|
GenerateContentResponse | res |
Returns
Type | Description |
---|---|
string |