├── .devcontainer ├── devcontainer.json └── init.sh ├── .eslintrc.json ├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md └── workflows │ └── ci.yml ├── .gitignore ├── .links.json ├── .prettierrc.json ├── .vscode ├── settings.json └── tasks.json ├── LICENSE.txt ├── README.md ├── docs └── image │ └── example-aiModel.png ├── jest.config.cjs ├── package.json ├── pnpm-lock.yaml ├── rollup.config.mjs ├── src ├── SchemaRegistry.ts ├── ToolFunction.ts ├── TypeSchemaResolver.ts ├── aiClassifier.ts ├── aiFunction.ts ├── aiModel.ts ├── errors.ts ├── index.ts ├── tools │ └── web.ts ├── types.ts └── utils.ts ├── test ├── ToolFunction.test.ts ├── TypeSchemaResolver.test.ts ├── aiClassifier.test.ts ├── aiFunction.test.ts ├── aiFunctionEHRExample.test.ts ├── aiModel.test.ts ├── annotations.test.ts ├── builder.test.ts ├── chatCompletionFlow.test.ts └── typedDataReceiverFlow.test.ts └── tsconfig.json /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.devcontainer/init.sh -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.gitignore -------------------------------------------------------------------------------- /.links.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.links.json -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/README.md -------------------------------------------------------------------------------- /docs/image/example-aiModel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/docs/image/example-aiModel.png -------------------------------------------------------------------------------- /jest.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/jest.config.cjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /src/SchemaRegistry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/SchemaRegistry.ts -------------------------------------------------------------------------------- /src/ToolFunction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/ToolFunction.ts -------------------------------------------------------------------------------- /src/TypeSchemaResolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/TypeSchemaResolver.ts -------------------------------------------------------------------------------- /src/aiClassifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/aiClassifier.ts -------------------------------------------------------------------------------- /src/aiFunction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/aiFunction.ts -------------------------------------------------------------------------------- /src/aiModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/aiModel.ts -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/tools/web.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/tools/web.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/ToolFunction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/ToolFunction.test.ts -------------------------------------------------------------------------------- /test/TypeSchemaResolver.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/TypeSchemaResolver.test.ts -------------------------------------------------------------------------------- /test/aiClassifier.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/aiClassifier.test.ts -------------------------------------------------------------------------------- /test/aiFunction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/aiFunction.test.ts -------------------------------------------------------------------------------- /test/aiFunctionEHRExample.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/aiFunctionEHRExample.test.ts -------------------------------------------------------------------------------- /test/aiModel.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/aiModel.test.ts -------------------------------------------------------------------------------- /test/annotations.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/annotations.test.ts -------------------------------------------------------------------------------- /test/builder.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/builder.test.ts -------------------------------------------------------------------------------- /test/chatCompletionFlow.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/chatCompletionFlow.test.ts -------------------------------------------------------------------------------- /test/typedDataReceiverFlow.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/test/typedDataReceiverFlow.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeAI-dev/typeai/HEAD/tsconfig.json --------------------------------------------------------------------------------