Spaces:
Runtime error
Runtime error
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>gorilla-test2</title> | |
<link rel="stylesheet" href="style.css" /> | |
<script type="module" src="script.js"></script> | |
</head> | |
<body> | |
<main> | |
<section id="text-gen"> | |
<h1>gorilla-test2</h1> | |
<form class="text-gen-form"> | |
Prompt:<br/> | |
<textarea | |
id="text-gen-input" | |
type="text"> | |
{ | |
"query": "Call me an Uber ride type \"Plus\" in Berkeley at zipcode 94704 in 10 minutes", | |
"functions": [ | |
{ | |
"name": "Uber Carpool", | |
"api_name": "uber.ride", | |
"description": "Find suitable ride for customers given the location, type of ride, and the amount of time the customer is willing to wait as parameters", | |
"parameters": [ | |
{"name": "loc", "description": "Location of the starting place of the Uber ride"}, | |
{"name": "type", "enum": ["plus", "comfort", "black"], "description": "Types of Uber ride user is ordering"}, | |
{"name": "time", "description": "The amount of time in minutes the customer is willing to wait"} | |
] | |
} | |
] | |
} | |
</textarea> | |
<br/> | |
<button id="text-gen-submit">Submit</button> | |
<p/> | |
Result:<br/> | |
<p> | |
<pre class="text-gen-output"> | |
</pre> | |
</p> | |
</form> | |
</section> | |
</main> | |
</body> | |
</html> | |