SDKs & clients
Ruby client for typesafe.ai
DEFAULT_BASE_URL = "https://api.typesafe.ai"The link points at the commit we read, so the line number still holds.
These question sets are lifted from this project's source exactly as written.
from test/typesafe/sdk/client_test.rb:12
departmenttrue/falseWhich team should handle this?
frustrationtrue/falseHow frustrated?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
department: { type: 'boolean', instructions: 'Which team should handle this?' },
frustration: { type: 'boolean', instructions: 'How frustrated?' },
},
});