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