Skip to content

Commit

Permalink
Merge pull request #59 from restackio/voice-to-functions
Browse files Browse the repository at this point in the history
  • Loading branch information
martinibach authored Dec 1, 2024
2 parents 457e27d + 43799be commit 37c5d8c
Show file tree
Hide file tree
Showing 41 changed files with 1,472 additions and 281 deletions.
6 changes: 2 additions & 4 deletions voice/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ WORKDIR /app

COPY --from=builder /app .

ENV NODE_OPTIONS=--max-old-space-size=4096
ENV NODE_OPTIONS="--max-old-space-size=4096"

EXPOSE 80

CMD ["node", "dist/services"]
CMD ["node", "dist/server"]
2 changes: 1 addition & 1 deletion voice/callWorkflow.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { client } from "../hello/src/client";
import { client } from "./src/client";

async function scheduleWorkflow() {
try {
Expand Down
57 changes: 30 additions & 27 deletions voice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,44 @@
"build": "tsc --build",
"clean": "rm -rf node_modules",
"call": "ts-node ./callWorkflow.ts",
"ngrok": "ngrok http 4000"
"ngrok": "ngrok http 4000",
"restack-up": "dotenv -e .env -- tsx restack_up.mjs",
"docker:build:server": "docker build -f Dockerfile.server -t voice .",
"docker:run:server": "docker run -d -p 4000:4000 voice",
"docker:build:services": "docker build -f Dockerfile.services -t voice .",
"docker:run:services": "docker run -d -p 4000:4000 voice"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@deepgram/sdk": "^3.6.0",
"@restackio/ai": "^0.0.85",
"@restackio/integrations-deepgram": "^0.0.13",
"@restackio/integrations-openai": "^0.0.34",
"@restackio/integrations-twilio": "^0.0.10",
"@restackio/integrations-websocket": "^0.0.17",
"@temporalio/workflow": "1.11.1",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.0",
"openai": "^4.59.0",
"ts-node": "^10.9.2",
"twilio": "^5.3.0",
"typescript": "^5.6.2",
"uuid": "^10.0.0",
"ws": "^8.18.0",
"zod": "^3.23.8"
"@restackio/ai": "0.0.86",
"@temporalio/workflow": "1.11.5",
"cors": "2.8.5",
"dotenv": "16.4.5",
"express": "4.21.0",
"openai": "4.59.0",
"ts-node": "10.9.2",
"twilio": "5.3.0",
"@deepgram/sdk": "3.6.0",
"typescript": "5.6.2",
"uuid": "10.0.0",
"ws": "8.18.0",
"zod": "3.23.8"
},
"devDependencies": {
"@restackio/cloud": "^1.0.19",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^22.5.4",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.12",
"nodemon": "^3.1.4",
"ts-node-dev": "^2.0.0"
"@restackio/cloud": "1.0.23",
"@types/cors": "2.8.17",
"@types/express": "4.17.21",
"@types/node": "22.5.4",
"@types/uuid": "10.0.0",
"@types/ws": "8.5.12",
"nodemon": "3.1.4",
"ts-node-dev": "2.0.0",
"tsx": "4.19.2",
"dotenv-cli": "7.4.4"
},
"optionalDependencies": {
"bufferutil": "^4.0.8"
"bufferutil": "4.0.8"
}
}
Loading

0 comments on commit 37c5d8c

Please sign in to comment.