@promptbook/azure-openai
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
43 lines (42 loc) • 1.35 kB
TypeScript
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements';
import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
/**
* USE BROWSER commitment definition
*
* The `USE BROWSER` commitment indicates that the agent should utilize a web browser tool
* to access and retrieve up-to-date information from the internet when necessary.
*
* The content following `USE BROWSER` is ignored (similar to NOTE).
*
* Example usage in agent source:
*
* ```book
* USE BROWSER
* USE BROWSER This will be ignored
* ```
*
* @private [🪔] Maybe export the commitments through some package
*/
export declare class UseBrowserCommitmentDefinition extends BaseCommitmentDefinition<'USE BROWSER'> {
constructor();
/**
* The `USE BROWSER` commitment is standalone.
*/
get requiresContent(): boolean;
/**
* Short one-line description of USE BROWSER.
*/
get description(): string;
/**
* Icon for this commitment.
*/
get icon(): string;
/**
* Markdown documentation for USE BROWSER commitment.
*/
get documentation(): string;
applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements;
}
/**
* Note: [💞] Ignore a discrepancy between file name and entity name
*/