Azure-Samples/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.
This project helps developers build interactive AI chatbots using Azure's cloud services and OpenAI's GPT models. It takes user prompts as input, processes them through the AI model, and returns generated responses. Developers can use this to create either single-turn question-and-answer services or multi-turn, conversational chatbots.
Use this if you are a developer looking for a straightforward way to integrate OpenAI's GPT models into an Azure Function for immediate responses or stateful chatbot interactions.
Not ideal if you need a fully pre-built, production-ready chatbot application without needing to write any code or manage cloud infrastructure.
Stars
21
Forks
14
Language
Bicep
License
MIT
Category
Last pushed
Nov 04, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/Azure-Samples/function-python-ai-openai-chatgpt"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
nazdridoy/ngpt
🤖 nGPT - A lightning-fast CLI tool that brings any OpenAI-compatible LLM (OpenAI, Ollama, Groq,...
abhagsain/ai-cli
Get answers for CLI commands from ChatGPT right from your terminal
aorumbayev/autogpt4all
🛠️ User-friendly bash script for setting up and configuring your LocalAI server with the GPT4All...
0xacx/chatGPT-shell-cli
Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
kharvd/gpt-cli
Command-line interface for ChatGPT, Claude and Bard