Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:25:15 +08:00
commit 0c577730d5
20 changed files with 5085 additions and 0 deletions

23
templates/package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "openai-assistants-templates",
"version": "1.0.0",
"description": "OpenAI Assistants API v2 templates",
"type": "module",
"scripts": {
"basic": "tsx templates/basic-assistant.ts",
"code-interpreter": "tsx templates/code-interpreter-assistant.ts",
"file-search": "tsx templates/file-search-assistant.ts",
"function-calling": "tsx templates/function-calling-assistant.ts",
"streaming": "tsx templates/streaming-assistant.ts",
"thread-management": "tsx templates/thread-management.ts",
"vector-store": "tsx templates/vector-store-setup.ts"
},
"dependencies": {
"openai": "^6.7.0"
},
"devDependencies": {
"@types/node": "^20.10.0",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
}
}