kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
|
|
||
|---|---|---|
| .github | ||
| .husky | ||
| docs | ||
| examples | ||
| scratch | ||
| src | ||
| test | ||
| .editorconfig | ||
| .env.example | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc.cjs | ||
| citation.cff | ||
| license | ||
| package.json | ||
| pnpm-lock.yaml | ||
| readme.md | ||
| tsconfig.json | ||
| tsup.config.ts | ||
readme.md
Agentic
TODO
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
ANTHROPIC_API_KEY- Anthropic API key (docs)SERPAPI_API_KEY- SerpApi API key (docs)METAPHOR_API_KEY- Metaphor API key (docs)
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