Node.js client for the unofficial ChatGPT API.
 
 
Go to file
Travis Fischer efc149a7b5 fix: pr feedback 2023-06-14 22:39:50 -07:00
.github
.husky
.snapshots/test/llms feat: improve openai function/task/tool support 2023-06-14 22:39:50 -07:00
docs docs: add Diffbot readme file 2023-06-14 11:44:28 -04:00
examples feat: add initial support for OpenAI functions w/ chat completion 2023-06-14 22:39:50 -07:00
scratch fix: pr feedback 2023-06-14 22:39:50 -07:00
src fix: pr feedback 2023-06-14 22:39:50 -07:00
test feat: add WeatherTool 2023-06-14 22:39:50 -07:00
.editorconfig
.env.example
.eslintignore 🌱 2023-06-08 12:18:30 -07:00
.eslintrc feat: add diffbot; refactor ky and services; add optional ky caching for tests 2023-06-13 01:09:26 -07:00
.gitattributes
.gitignore
.npmrc
.prettierignore
.prettierrc.cjs
license
package.json feat: add initial support for OpenAI functions w/ chat completion 2023-06-14 22:39:50 -07:00
pnpm-lock.yaml feat: add initial support for OpenAI functions w/ chat completion 2023-06-14 22:39:50 -07:00
readme.md docs: add instructions for running unit test(s) 2023-06-08 22:04:31 -04:00
tsconfig.json feat: add diffbot; refactor ky and services; add optional ky caching for tests 2023-06-13 01:09:26 -07:00
tsup.config.ts

readme.md

Agentic

TODO

@agentic/core npm package Build Status MIT License Prettier Code Formatting

Intro

TODO

Development

pnpm install

Environment

cp .env.example .env

Required

  • OPENAI_API_KEY - OpenAI API key.
  • REDIS_URL_TEST - Redis server URL used for caching third-party API calls during testing.

Optional

Local Testing

Ensure you have REDIS_URL_TEST set to a valid redis connection URL.

pnpm test

Agentic uses ava as its test runner. To just execute unit tests, run:

pnpm test:unit

To run a specific test, use the --match flag like so:

pnpm test:unit --match='name of the test'

Scratch

  • @agentic/core
    • Task, Agentic, logging, caching, types, constants
  • @agentic/human-feedback
  • @agentic/human-feedback-cli
  • @agentic/human-feedback-sms
  • @agentic/human-feedback-slack
  • @agentic/experimenation
  • @agentic/tools
  • @agentic/tools-serpapi
  • @agentic/tools-metaphor
  • @agentic/tools-browser
  • @agentic/tools-multion
  • @agentic/llms
  • @agentic/llms-openai
  • @agentic/llms-anthropic
  • @agentic/llms-huggingface
  • @agentic/agents
  • @agentic/cli

License

MIT © Travis Fischer