Skip to content

Conversation

@priankakariat
Copy link
Contributor

No description provided.

// - history: []
//
// Returns a JSON payload containing the model response with the following format.
// Sends a JSON payload containing the model response to the client with the following format.
Copy link
Contributor Author

@priankakariat priankakariat Oct 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pcoet
w.r.t #17 (comment)
That's right. It doesn't return anything. By returns, I meant the API response returned to the client. I have modified it. Hope its clear

// JSON-encoded content in a history array must comply to it.
// part is a piece of model content or user query. It can hold only text pieces. An item in the JSON
// encoded history array based on the role it represents (user / model) holds a single model
// response / user query as an ordered array of text chunks. Each item in this array must comply to part.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pcoet resolved. #17 (comment)

@pcoet pcoet merged commit 18095ea into google-gemini:main Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants