This project contains Azure Functions for various tasks.
Monorepo for Azure Functions demo
To install pnpm, follow these steps:
- Using npm:
npm install -g pnpm- Using Homebrew (macOS):
brew install pnpm- Using curl:
curl -fsSL https://get.pnpm.io/install.sh | sh -For more installation options and detailed instructions, visit the official pnpm installation guide.
Run pnpm install
pnpm installBuild
pnpm run buildRun
You need to provide the following api keys
export OPENAI_API_KEY="<your-openai-key>"
export DEEPSEEK_API_KEY="<your-deepseek-key>"pnpm startVisit
http://localhost:7071/api/public/index.html
Functions:
- ChannelService_Join: [POST] http://localhost:7071/api/channels/{channel}/join # Just for testing
- ChannelService_List: [GET] http://localhost:7071/api/channels/list # Just for testing
- MessageService_Send: [POST] http://localhost:7071/api/messages/{option}/send # Returns the whole answer from API
- MessageService_Stream: [POST] http://localhost:7071/api/messages/{option}/stream # Streams the answer using text/event-stream
- StaticService_GetStaticFile: [GET] http://localhost:7071/api/public/{\*path} # Serves index.html