[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is InferenceResult not exported ? #218

Open
sebastienblanc opened this issue Jan 17, 2024 · 2 comments
Open

Why is InferenceResult not exported ? #218

sebastienblanc opened this issue Jan 17, 2024 · 2 comments

Comments

@sebastienblanc
Copy link

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 like InferenceUsage) are not exported . Any reasons for this ?

@sebastienblanc sebastienblanc changed the title Why is InferenceResult is not exported ? Why is InferenceResult not exported ? Jan 17, 2024
@itowlson
Copy link
Contributor

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?

@karthik2804
Copy link
Collaborator

I think that was just an oversight and it should be exported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants