WebAssembly / wasi-nn

Neural Network proposal for WASI
452 stars 35 forks source link

Add a `prompt` interface #79

Open abrown opened 1 month ago

abrown commented 1 month 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).