Node.js client for the unofficial ChatGPT API.
 
 
Go to file
Travis Fischer f7c26fd922 🙍 2023-05-26 18:28:31 -07:00
.github feat: init 2023-04-25 13:47:18 -07:00
.husky feat: init 2023-04-25 13:47:18 -07:00
examples 🙍 2023-05-26 18:28:31 -07:00
src 🍤 2023-05-26 17:36:52 -07:00
.env.example add a food expert example (#1) 2023-05-26 17:38:55 -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 metaphor tool 2023-05-26 16:50:45 -07:00
pnpm-lock.yaml feat: add metaphor tool 2023-05-26 16:50:45 -07:00
readme.md 🌫 2023-05-03 22:54:32 -05:00
tsconfig.json 🍯 2023-05-25 21:07:50 -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