add new example task gong.io (#1210)

This commit is contained in:
Shuchang Zheng
2024-11-18 05:39:37 -08:00
committed by GitHub
parent 3119ab75a4
commit 5e253c82aa
3 changed files with 22 additions and 0 deletions

View File

@@ -84,6 +84,10 @@ const exampleCases = [
key: "topRankedFootballTeam",
label: "Get the top ranked football team",
},
{
key: "extractIntegrationsFromGong",
label: "Extract Integrations from Gong",
},
];
function PromptBox() {

View File

@@ -365,6 +365,20 @@ export const topRankedFootballTeam = {
errorCodeMapping: null,
};
export const extractIntegrationsFromGong = {
url: "https://www.gong.io",
navigationGoal:
"Navigate to the 'Integrations' page on the Gong website. COMPLETE when the page displaying a list of integrations is fully loaded. Ensure not to click on any external links or advertisements.",
dataExtractionGoal:
"Extract the names and descriptions of all integrations listed on the Gong integrations page.",
navigationPayload: null,
extractedInformationSchema: null,
webhookCallbackUrl: null,
totpIdentifier: null,
totpVerificationUrl: null,
errorCodeMapping: null,
};
export function getSample(sample: SampleCase) {
switch (sample) {
case "geico": {
@@ -407,6 +421,9 @@ export function getSample(sample: SampleCase) {
case "topRankedFootballTeam": {
return topRankedFootballTeam;
}
case "extractIntegrationsFromGong": {
return extractIntegrationsFromGong;
}
case "blank": {
return blank;
}

View File

@@ -12,6 +12,7 @@ export const sampleCases = [
"AAPLStockPrice",
"NYTBestseller",
"topRankedFootballTeam",
"extractIntegrationsFromGong",
] as const;
export type SampleCase = (typeof sampleCases)[number];