Skip to content

feat(js): add Google PaLM2 API client#475

Open
apollo-jpg wants to merge 2 commits into
arakoodev:tsfrom
apollo-jpg:bounty-279-google-palm2-api
Open

feat(js): add Google PaLM2 API client#475
apollo-jpg wants to merge 2 commits into
arakoodev:tsfrom
apollo-jpg:bounty-279-google-palm2-api

Conversation

@apollo-jpg
Copy link
Copy Markdown

Fixes #279

Summary

  • add a direct Palm2AI client for Google Generative Language endpoints without using a Google SDK
  • support chat/generateContent, PaLM text generation, and embeddings with TypeScript request/response types
  • export the client from the JS AI package
  • add mocked unit tests under src/ai/src/tests/palm2
  • add a jsonnet-driven examples/palm2-chat example with prompts/config outside TypeScript

Verification

  • bun test src/ai/src/tests/palm2/palm2.test.ts
  • bun run build

/claim #279

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@apollo-jpg apollo-jpg force-pushed the bounty-279-google-palm2-api branch from 947ec08 to 1b28e6c Compare May 11, 2026 00:58
@apollo-jpg
Copy link
Copy Markdown
Author

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

@apollo-jpg
Copy link
Copy Markdown
Author

recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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