@regacy-innovation/shared-services
Version:
Shared services for NestJS microservices
60 lines • 1.53 kB
TypeScript
import { BasePayloadDto } from './base-payload.dto';
declare enum Category {
COMPANY = "company",
RESEARCH_PAPER = "research paper",
NEWS = "news",
PDF = "pdf",
GITHUB = "github",
TWEET = "tweet",
PERSONAL_SITE = "personal site",
LINKEDIN_PROFILE = "linkedin profile",
FINANCIAL_REPORT = "financial report"
}
declare enum LivecrawlOptions {
NEVER = "never",
FALLBACK = "fallback",
ALWAYS = "always",
AUTO = "auto"
}
declare enum SearchType {
KEYWORD = "keyword",
NEURAL = "neural",
AUTO = "auto"
}
declare class ContentsExtras {
extras?: Record<string, any>;
}
declare class ContentsHighlights {
highlights?: Record<string, any>;
}
declare class ContentsSummary {
query?: string;
}
declare class Contents {
extras?: ContentsExtras;
highlights?: ContentsHighlights;
livecrawl?: LivecrawlOptions;
livecrawlTimeout?: number;
subpages?: number;
subpageTarget?: string;
summary?: ContentsSummary;
text?: boolean;
}
export declare class ExaBasePayloadDto extends BasePayloadDto {
query: string;
category?: Category;
contents?: Contents;
endCrawlDate?: string;
endPublishedDate?: string;
excludeDomains?: string[];
excludeText?: string[];
includeDomains?: string[];
includeText?: string[];
numResults?: number;
startCrawlDate?: string;
startPublishedDate?: string;
type?: SearchType;
useAutoprompt?: boolean;
}
export {};
//# sourceMappingURL=exa-base-payload.dto.d.ts.map