Node.js client for the unofficial ChatGPT API.
 
 
Go to file
Travis Fischer 1da1a83762 feat: disable node v16 support for now 2023-05-31 23:06:59 -07:00
.github feat: disable node v16 support for now 2023-05-31 23:06:59 -07:00
.husky feat: init 2023-04-25 13:47:18 -07:00
examples 🖲 2023-05-31 23:06:59 -07:00
src feat: add unit tests and redis caching for testing layer 2023-05-31 23:06:59 -07:00
test feat: add unit tests and redis caching for testing layer 2023-05-31 23:06:59 -07:00
.env.example feat: refactoring core 2023-05-31 23:06:59 -07:00
.gitignore feat: init 2023-04-25 13:47:18 -07:00
.npmrc feat: init 2023-04-25 13:47:18 -07:00
.prettierignore feat: init 2023-04-25 13:47:18 -07:00
.prettierrc.cjs feat: init 2023-04-25 13:47:18 -07:00
license feat: init 2023-04-25 13:47:18 -07:00
package.json feat: add unit tests and redis caching for testing layer 2023-05-31 23:06:59 -07:00
pnpm-lock.yaml feat: add unit tests and redis caching for testing layer 2023-05-31 23:06:59 -07:00
readme.md 🌫 2023-05-03 22:54:32 -05:00
tsconfig.json feat: refactoring core 2023-05-31 23:06:59 -07:00
tsup.config.ts 🍯 2023-05-25 21:07:50 -07:00

readme.md

Agentic

TODO

agentic NPM package Build Status MIT License Prettier Code Formatting

Intro

TODO

TODO

https://github.com/colinhacks/zod#writing-generic-functions

Use Cases

https://platform.openai.com/examples

// take in a query and a list of texts and produces an ordered array with each text assigned a relevance score. // generate JSON conforming to a zod schema // generate a string conforming to a zod schema // generate TS code and ensure it is valid syntax + valid exports // generate HTML and ensure it parses correctly // primitives (boolean, number, z.coerce.date, string) // classifier (enum) // CSV

// retry strategies

// separate the prompt formatting from the inference call?

License

MIT © Travis Fischer

If you found this project interesting, please consider sponsoring me or following me on twitter twitter