Replay a house assistant against its eval cases (AS21)
curl --request POST \
--url https://api.eddy.engineer/v1/house/{assistant}/evals.run \
--header 'Content-Type: application/json' \
--data '
{
"cases": [
"<string>"
],
"expected_version": 123
}
'import requests
url = "https://api.eddy.engineer/v1/house/{assistant}/evals.run"
payload = {
"cases": ["<string>"],
"expected_version": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({cases: ['<string>'], expected_version: 123})
};
fetch('https://api.eddy.engineer/v1/house/{assistant}/evals.run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/house/{assistant}/evals.run",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cases' => [
'<string>'
],
'expected_version' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/house/{assistant}/evals.run"
payload := strings.NewReader("{\n \"cases\": [\n \"<string>\"\n ],\n \"expected_version\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/house/{assistant}/evals.run")
.header("Content-Type", "application/json")
.body("{\n \"cases\": [\n \"<string>\"\n ],\n \"expected_version\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/house/{assistant}/evals.run")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"cases\": [\n \"<string>\"\n ],\n \"expected_version\": 123\n}"
response = http.request(request)
puts response.read_body{}Meta
Replay a house assistant against its eval cases (AS21)
AS20’s evals.run on the caller’s org’s copy of the assistant (seeded from the house definition first): each case is a run of the copy whose model is the case’s recording (no model is called, none billed), whose tools run on the engine for real and whose client tools (open_page, edit_source, …) are answered as the case’s client says. Answers the suite as POST /v1/agents//evals.run does, plus assistant.
POST
/
v1
/
house
/
{assistant}
/
evals.run
Replay a house assistant against its eval cases (AS21)
curl --request POST \
--url https://api.eddy.engineer/v1/house/{assistant}/evals.run \
--header 'Content-Type: application/json' \
--data '
{
"cases": [
"<string>"
],
"expected_version": 123
}
'import requests
url = "https://api.eddy.engineer/v1/house/{assistant}/evals.run"
payload = {
"cases": ["<string>"],
"expected_version": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({cases: ['<string>'], expected_version: 123})
};
fetch('https://api.eddy.engineer/v1/house/{assistant}/evals.run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/house/{assistant}/evals.run",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cases' => [
'<string>'
],
'expected_version' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/house/{assistant}/evals.run"
payload := strings.NewReader("{\n \"cases\": [\n \"<string>\"\n ],\n \"expected_version\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/house/{assistant}/evals.run")
.header("Content-Type", "application/json")
.body("{\n \"cases\": [\n \"<string>\"\n ],\n \"expected_version\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/house/{assistant}/evals.run")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"cases\": [\n \"<string>\"\n ],\n \"expected_version\": 123\n}"
response = http.request(request)
puts response.read_body{}