├── .github └── workflows │ ├── mr.yml │ └── npm-publish.yml ├── .gitignore ├── .nvmrc ├── LICENSE ├── README.md ├── assets ├── javascript.png └── logo.png ├── examples ├── JavaScriptInterpreter.js ├── aiplugin.js ├── calculator.js ├── googleCustomSearch.js └── webbrowser.js ├── index.ts ├── legacy ├── functionSchemaPlugin.js └── webpack.config.js ├── package.json ├── pnpm-lock.yaml ├── tools ├── aggregatedSearch.ts ├── aiplugin.test.ts ├── aiplugin.ts ├── bingCustomSearch.ts ├── calculator.test.ts ├── calculator.ts ├── clock.test.ts ├── clock.ts ├── fs.ts ├── googleCustomSearch.ts ├── javaScriptInterpreter.test.ts ├── javaScriptInterpreter.ts ├── request.test.ts ├── request.ts ├── reverseGeocode.test.ts ├── reverseGeocode.ts ├── serpApiCustomSearch.ts ├── serpApiImageSearch.ts ├── serperCustomSearch.ts ├── serperImagesSearch.ts ├── showPoisOnMap.test.ts ├── showPoisOnMap.ts ├── tool.ts └── webbrowser.ts ├── tsconfig.cjs.json ├── tsconfig.esm.json ├── tsconfig.json └── utils └── isNode.ts /.github/workflows/mr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/.github/workflows/mr.yml -------------------------------------------------------------------------------- /.github/workflows/npm-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/.github/workflows/npm-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v18.14.0 -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/README.md -------------------------------------------------------------------------------- /assets/javascript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/assets/javascript.png -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/assets/logo.png -------------------------------------------------------------------------------- /examples/JavaScriptInterpreter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/examples/JavaScriptInterpreter.js -------------------------------------------------------------------------------- /examples/aiplugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/examples/aiplugin.js -------------------------------------------------------------------------------- /examples/calculator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/examples/calculator.js -------------------------------------------------------------------------------- /examples/googleCustomSearch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/examples/googleCustomSearch.js -------------------------------------------------------------------------------- /examples/webbrowser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/examples/webbrowser.js -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/index.ts -------------------------------------------------------------------------------- /legacy/functionSchemaPlugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/legacy/functionSchemaPlugin.js -------------------------------------------------------------------------------- /legacy/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/legacy/webpack.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /tools/aggregatedSearch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/aggregatedSearch.ts -------------------------------------------------------------------------------- /tools/aiplugin.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/aiplugin.test.ts -------------------------------------------------------------------------------- /tools/aiplugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/aiplugin.ts -------------------------------------------------------------------------------- /tools/bingCustomSearch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/bingCustomSearch.ts -------------------------------------------------------------------------------- /tools/calculator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/calculator.test.ts -------------------------------------------------------------------------------- /tools/calculator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/calculator.ts -------------------------------------------------------------------------------- /tools/clock.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/clock.test.ts -------------------------------------------------------------------------------- /tools/clock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/clock.ts -------------------------------------------------------------------------------- /tools/fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/fs.ts -------------------------------------------------------------------------------- /tools/googleCustomSearch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/googleCustomSearch.ts -------------------------------------------------------------------------------- /tools/javaScriptInterpreter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/javaScriptInterpreter.test.ts -------------------------------------------------------------------------------- /tools/javaScriptInterpreter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/javaScriptInterpreter.ts -------------------------------------------------------------------------------- /tools/request.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/request.test.ts -------------------------------------------------------------------------------- /tools/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/request.ts -------------------------------------------------------------------------------- /tools/reverseGeocode.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/reverseGeocode.test.ts -------------------------------------------------------------------------------- /tools/reverseGeocode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/reverseGeocode.ts -------------------------------------------------------------------------------- /tools/serpApiCustomSearch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/serpApiCustomSearch.ts -------------------------------------------------------------------------------- /tools/serpApiImageSearch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/serpApiImageSearch.ts -------------------------------------------------------------------------------- /tools/serperCustomSearch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/serperCustomSearch.ts -------------------------------------------------------------------------------- /tools/serperImagesSearch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/serperImagesSearch.ts -------------------------------------------------------------------------------- /tools/showPoisOnMap.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/showPoisOnMap.test.ts -------------------------------------------------------------------------------- /tools/showPoisOnMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/showPoisOnMap.ts -------------------------------------------------------------------------------- /tools/tool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/tool.ts -------------------------------------------------------------------------------- /tools/webbrowser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tools/webbrowser.ts -------------------------------------------------------------------------------- /tsconfig.cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tsconfig.cjs.json -------------------------------------------------------------------------------- /tsconfig.esm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tsconfig.esm.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/isNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannLai/openai-function-calling-tools/HEAD/utils/isNode.ts --------------------------------------------------------------------------------