Huggingface.js documentation
Namespace: python
Namespace: python
snippets.python
Functions
getPythonInferenceSnippet
▸ getPythonInferenceSnippet(model
, accessToken
, provider
, providerModelId?
, opts?
): InferenceSnippet
[]
Parameters
Name | Type |
---|---|
model | ModelDataMinimal |
accessToken | string |
provider | string |
providerModelId? | string |
opts? | Record \<string , unknown > |
Returns
InferenceSnippet
[]
Defined in
inference/src/snippets/python.ts:524
< > Update on GitHub