Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add responseLogProbs and logProbs parameters to generateContentReq #266

Merged
merged 9 commits into from
Sep 26, 2024

Conversation

shilpakancharla
Copy link
Collaborator

@shilpakancharla shilpakancharla commented Sep 26, 2024

Following up on b/369367297.

New input parameter are listed here GenerateContentRequest:

  • optional bool response_logprobs
  • optional int32 logprobs

New output parameter are listed here GenerateContentResponse:

  • double avg_logprobs
  • LogprobsResult logprobs_result

.changeset/funny-pillows-whisper.md Outdated Show resolved Hide resolved
types/responses.ts Outdated Show resolved Hide resolved
types/responses.ts Outdated Show resolved Hide resolved
types/responses.ts Outdated Show resolved Hide resolved
types/responses.ts Outdated Show resolved Hide resolved
common/api-review/generative-ai.api.md Outdated Show resolved Hide resolved
common/api-review/generative-ai.api.md Outdated Show resolved Hide resolved
types/requests.ts Outdated Show resolved Hide resolved
@shilpakancharla shilpakancharla merged commit b3d1e01 into main Sep 26, 2024
9 checks passed
@shilpakancharla shilpakancharla deleted the sk_new_param_generatecontentreq branch September 26, 2024 23:08
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