Open sebastienblanc opened 7 months ago
Oddly enough they do appear in the docs (https://fermyon.github.io/spin-js-sdk/variables/Llm.html links to https://fermyon.github.io/spin-js-sdk/interfaces/_internal_.InferenceResult.html) although under an "internal" grouping. @karthik2804 @dicej any idea what the intention is here?
I think that was just an oversight and it should be exported.
Looking here : https://github.com/fermyon/spin-js-sdk/blob/main/spin-sdk/src/modules/spinSdk.ts#L314 I can see that
InferenceResult
(and some others likeInferenceUsage
) are not exported . Any reasons for this ?