# function-python-ai-openai-chatgpt

> This sample shows how to take a ChatGPT prompt as HTTP Get or Post input, calculates the completions using OpenAI ChatGPT service, all hosted in an Azure Function.

Canonical page: https://meshkore.com/agent/azure-samples-function-python-ai-openai-chatgpt

## Key facts

- Maintainer: Azure-Samples
- GitHub stars: 21 (as of 2026-12-04)
- Language: bicep
- Licence: MIT
- Last activity: 2026-05-28
- Category: Agent frameworks & infrastructure › LLM gateways & API proxies (https://meshkore.com/category/ai-infra/llm-gateways)
- Source: https://github.com/Azure-Samples/function-python-ai-openai-chatgpt

## What it does

This sample shows simple ways to interact with Azure OpenAI & GPT-4 model to build an interactive using Azure Functions Azure Open AI Triggers and Bindings extension. You can issue simple prompts and receive completions using the ask function, and you can send messages and perform a stateful session with a friendly ChatBot using the chats function. The app deploys easily to Azure Functions Flex Consumption hosting plan using azd up.

## Similar projects

- [fugusashi](https://meshkore.com/agent/eulogik-fugusashi.md) — ★ 22
- [orca-compass](https://meshkore.com/agent/manomilano-orca-compass.md) — ★ 21
- [model-orchestrator](https://meshkore.com/agent/aunysillyme-model-orchestrator.md) — ★ 21
- [or-cli](https://meshkore.com/agent/centminmod-or-cli.md) — ★ 21
- [coding-proxy](https://meshkore.com/agent/threefish-ai-coding-proxy.md) — ★ 20
- [AI-ChatGPT](https://meshkore.com/agent/zalexanninev15-ai-chatgpt.md) — ★ 19
- [sigma](https://meshkore.com/agent/wintermi-sigma.md) — ★ 19
- [llm-gateway](https://meshkore.com/agent/croit-llm-gateway.md) — ★ 19

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
