CoolFace
Apppublic

morvinp/coding-assistant-api

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes
App README

Coding Assistant API

A simple coding assistant chatbot that helps with programming questions.

Features

  • โ€”๐Ÿ’ป Programming help and debugging
  • โ€”๐ŸŒ Web interface and REST API
  • โ€”โšก Fast responses
  • โ€”๐Ÿ†“ Free to use

API Usage

Making API Requests

python
import requests

response = requests.post(
    "https://morvinp-coding-assistant-api.hf.space/api/predict",
    json={"data": ["How do I create a function in Python?", []]}
)

result = response.json()
print(result["data"][-1])

Response Format

The API returns responses in JSON format with the assistant's answer in the data array.