WebAssembly / wasi-nn

Neural Network proposal for WASI
471 stars 36 forks source link

Add a `prompt` interface #79

Open abrown opened 3 months ago

abrown commented 3 months ago

Recent conversations (especially in the machine learning working group) suggest a need for a more specialized version of wasi-nn targeting LLMs. This change proposes such an interface, allowing users to access an ML graph directly using prompt strings instead of through the original tensor-based interface (i.e., inference).