explainers-by-googlers / prompt-api

A proposal for a web API for prompting browser-provided language models
Creative Commons Attribution 4.0 International
267 stars 20 forks source link

AIModelAvailability unavailable #18

Closed hemanth closed 4 months ago

hemanth commented 4 months ago

It is better to use unavailable instead of no?

enum AIModelAvailability { "readily", "after-download", "unavailable" };
domenic commented 4 months ago

I think "no" is a pretty good answer to canCreateTextSession().

hemanth commented 4 months ago

readily can be yes in that case?

domenic commented 4 months ago

That would not make sense, because there's a difference between "readily" and "after-download"; both are "yes".

Another example: "Can you deliver me a pizza today?"

hemanth commented 4 months ago

Makes more sense, thanks for providing the example!