From 31cfbb1013a482e89c72146e2063ac4362becae7 Mon Sep 17 00:00:00 2001 From: Tobias Lütke Date: Wed, 5 Jul 2023 16:51:13 -0400 Subject: Expose generation timings from server & update completions.js (#2116) * use javascript generators as much cleaner API Also add ways to access completion as promise and EventSource * export llama_timings as struct and expose them in server * update readme, update baked includes * llama : uniform variable names + struct init --------- Co-authored-by: Georgi Gerganov --- examples/server/public/index.html | 135 ++++++++++++++++++++++---------------- 1 file changed, 78 insertions(+), 57 deletions(-) (limited to 'examples/server/public/index.html') diff --git a/examples/server/public/index.html b/examples/server/public/index.html index 6393e2e..8ace0b0 100644 --- a/examples/server/public/index.html +++ b/examples/server/public/index.html @@ -6,7 +6,6 @@ llama.cpp - chat