-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
25 lines (25 loc) · 810 Bytes
/
package.json
File metadata and controls
25 lines (25 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"name": "gpt-cloud-function",
"version": "1.0.0",
"description": "GCP HTTP Function to communicate with custom OpenAI GPT Assistant",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "functions-framework --target=gpt-cloud-function",
"prepare": "npm run build",
"predeploy": "npm run build",
"gcp-deploy": "tsc && gcloud functions deploy gpt-cloud-function --region=us-central1 --runtime nodejs20 --trigger-http --allow-unauthenticated --env-vars-file .env.yaml"
},
"keywords": [],
"author": "Attila Reterics",
"license": "MIT",
"dependencies": {
"@google-cloud/functions-framework": "^3.4.0",
"@google-cloud/secret-manager": "^5.5.0",
"dotenv": "^16.4.5",
"openai": "^4.42.0"
},
"devDependencies": {
"typescript": "^5.4.5"
}
}