palm-api
Version:
A PaLM API for JS & TS
35 lines (30 loc) โข 2.2 kB
Markdown
<h1 align="center">PaLM API</h1>
<p align="center">Faster. Easier. Smarter.</p>
<p align="center">
<a aria-label="NPM Version" href="https://www.npmjs.com/package/palm-api">
<img alt="" src="https://img.shields.io/npm/v/palm-api.svg?label=NPM&logo=npm&style=for-the-badge&color=3D16A8&logoColor=white">
</a>
<a aria-label="NPM Download Count" href="https://www.npmjs.com/package/palm-api">
<img alt="" src="https://img.shields.io/npm/dt/palm-api?label=Downloads&style=for-the-badge&color=4A9596">
</a>
<a aria-label="palm-api Size" href="https://www.npmjs.com/package/palm-api">
<img alt="" src="https://img.shields.io/bundlephobia/minzip/palm-api?style=for-the-badge&color=3FD586">
</a>
</p>
<p align="center">
<a href="https://github.com/EvanZhouDev/palm-api#documentation">Docs</a> | <a href="https://github.com/evanzhoudev/palm-api">GitHub</a> | <a href="https://github.com/EvanZhouDev/palm-api#frequently-asked-questions">FAQ</a>
</p>
## Features
- ๐ค [**Multi-Model Support**](https://github.com/EvanZhouDev/palm-api#setup): Use any model available for PaLM
- ๐ [**Contextual Conversations**](https://github.com/EvanZhouDev/palm-api#palmcreatechat): Easily chat with PaLM
- ๐งช [**Easy Parameter Tweaking**](https://github.com/EvanZhouDev/palm-api#config-1): Easily modify `temperature`, `top_p`, and more
## Get Started on [GitHub](https://github.com/EvanZhouDev/palm-api):
- [Why PaLM API?](https://github.com/EvanZhouDev/palm-api#why-palm-api)
- [Documentation](https://github.com/EvanZhouDev/palm-api#documentation)
- [Setup](https://github.com/EvanZhouDev/palm-api#setup): Getting Started
- [`PaLM.ask()`](https://github.com/EvanZhouDev/palm-api#palmask): The best way to use PaLM
- [`PaLM.generateText()`](https://github.com/EvanZhouDev/palm-api#palmgeneratetext): Use `generateText` models
- [`PaLM.embed()`](https://github.com/EvanZhouDev/palm-api#palmembed): Embed text with PaLM
- [`PaLM.createChat()`](https://github.com/EvanZhouDev/palm-api#palmcreatechat): Continue conversations easily.
- [FAQ](https://github.com/EvanZhouDev/palm-api#frequently-asked-questions)
- [Contributors](https://github.com/EvanZhouDev/palm-api#contributors)