UNPKG

agentfootprint

Version:

The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.

19 lines (18 loc) • 758 B
/** * Resource root → the base every Azure OpenAI path hangs off. * * `https://my-co.openai.azure.com` → `https://my-co.openai.azure.com/openai` * `https://my-co.openai.azure.com/` → the same * `https://my-co.openai.azure.com/openai` → the same (idempotent) * * This is the rule the `openai` SDK applies to its own `endpoint` option, plus * that idempotence. */ export declare function azureBaseUrl(endpoint: string): string; /** * Resource root + deployment → the full chat-completions URL Azure serves. * * The deployment-scoped path is Azure's routing model: the deployment is in the * URL, not only in the body. */ export declare function azureChatCompletionsUrl(endpoint: string, deployment: string, apiVersion: string): string;