We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81698e0 commit 531d1e3Copy full SHA for 531d1e3
packages/inference/src/snippets/getInferenceSnippets.ts
@@ -20,6 +20,7 @@ export type InferenceSnippetOptions = {
20
accessToken?: string;
21
directRequest?: boolean; // to bypass HF routing and call the provider directly
22
endpointUrl?: string; // to call a local endpoint directly
23
+ inputs?: Record<string, unknown>; // overrides the default snippet's inputs
24
} & Record<string, unknown>;
25
26
const PYTHON_CLIENTS = ["huggingface_hub", "fal_client", "requests", "openai"] as const;
0 commit comments