morvinp/coding-assistant-api
0
1---2title: Coding Assistant API3emoji: ๐ป4colorFrom: blue5colorTo: purple6sdk: gradio7sdk_version: 4.0.08app_file: app.py9pinned: false10license: apache-2.011---12 13# Coding Assistant API14 15A simple coding assistant chatbot that helps with programming questions.16 17## Features18 19- ๐ป Programming help and debugging20- ๐ Web interface and REST API21- โก Fast responses22- ๐ Free to use23 24## API Usage25 26### Making API Requests27 28```python29import requests30 31response = requests.post(32 "https://morvinp-coding-assistant-api.hf.space/api/predict",33 json={"data": ["How do I create a function in Python?", []]}34)35 36result = response.json()37print(result["data"][-1])38```39 40### Response Format41 42The API returns responses in JSON format with the assistant's answer in the `data` array.