import axios from "axios"; export const config = { "name": "llama", "url": "/api/llama", "description": "Get response from llama AI Model. llama AI is a very powerful AI that can do a lot of things.", "query": "prompt", "response": "text", "testURL": "./api/llama?prompt=hello" } const {llama} = require('@shuddho11288/llama-api') export default async function handler(req, res) { const prompt = req.query.prompt; const response = await llama(prompt); res.status(200).json({...response}); }