How To Use
Endpoint GPT
POST
https://api.i-as.dev/api/ai/hugging-face/gpt
Body Request
{
"text": "string",
"apiKey": "huggingface-apiKey"
}
Response
{
"success": boolean,
"message": "string",
"data": [
{
"string"
}
]
}
Endpoint Deepset
POST
https://api.i-as.dev/api/ai/hugging-face/deepset
Body Request
{
"question": "string",
"context": "string",
"apiKey": "huggingface-apiKey"
}
Response
{
"success": "boolean",
"message": "string",
"answer": "string"
}
Endpoint NEO
POST
https://api.i-as.dev/api/ai/hugging-face/neo
Body Request
{
"text": "string",
"apiKey": "huggingface-apiKey"
}
Response
{
"output": [
{
"generated_text": "string"
}
]
}