Skip to content

feat(ai): add PaLM 2 API support - #635

Open
genaaredes-ui wants to merge 1 commit into
arakoodev:tsfrom
genaaredes-ui:codex/palm2-api
Open

feat(ai): add PaLM 2 API support#635
genaaredes-ui wants to merge 1 commit into
arakoodev:tsfrom
genaaredes-ui:codex/palm2-api

Conversation

@genaaredes-ui

Copy link
Copy Markdown

Resolves #279

Summary

  • Add a typed Palm2AI client for the PaLM REST API's chat-bison, text-bison, and embedding-gecko endpoints.
  • Export the client and its request/response types from the AI package.
  • Add a Jsonnet-driven Palm2 example with runtime configuration.
  • Add mocked HTTP tests for chat, text generation, embeddings, and input validation.

Tests

  • Palm2AI isolated TypeScript check: passed
  • Palm2AI Vitest suite: 3 passed
  • Palm2 example TypeScript check: passed

The API key is read from the constructor or PALM_API_KEY; no credentials are included in the repository.

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Before we can accept your contribution, we ask that you sign the Arakoo Contributor License Agreement. You can sign the CLA by adding a new comment to this pull request and pasting exactly the following text.


I have read the Arakoo CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

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.

BOUNTY: add support for Google Palm2 API in javascript/typescript

1 participant