add new example task gong.io (#1210)
This commit is contained in:
@@ -84,6 +84,10 @@ const exampleCases = [
|
|||||||
key: "topRankedFootballTeam",
|
key: "topRankedFootballTeam",
|
||||||
label: "Get the top ranked football team",
|
label: "Get the top ranked football team",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: "extractIntegrationsFromGong",
|
||||||
|
label: "Extract Integrations from Gong",
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
function PromptBox() {
|
function PromptBox() {
|
||||||
|
|||||||
@@ -365,6 +365,20 @@ export const topRankedFootballTeam = {
|
|||||||
errorCodeMapping: null,
|
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) {
|
export function getSample(sample: SampleCase) {
|
||||||
switch (sample) {
|
switch (sample) {
|
||||||
case "geico": {
|
case "geico": {
|
||||||
@@ -407,6 +421,9 @@ export function getSample(sample: SampleCase) {
|
|||||||
case "topRankedFootballTeam": {
|
case "topRankedFootballTeam": {
|
||||||
return topRankedFootballTeam;
|
return topRankedFootballTeam;
|
||||||
}
|
}
|
||||||
|
case "extractIntegrationsFromGong": {
|
||||||
|
return extractIntegrationsFromGong;
|
||||||
|
}
|
||||||
case "blank": {
|
case "blank": {
|
||||||
return blank;
|
return blank;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ export const sampleCases = [
|
|||||||
"AAPLStockPrice",
|
"AAPLStockPrice",
|
||||||
"NYTBestseller",
|
"NYTBestseller",
|
||||||
"topRankedFootballTeam",
|
"topRankedFootballTeam",
|
||||||
|
"extractIntegrationsFromGong",
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export type SampleCase = (typeof sampleCases)[number];
|
export type SampleCase = (typeof sampleCases)[number];
|
||||||
|
|||||||
Reference in New Issue
Block a user