From bc2f800848716296df5cb3e6abae352c7415caa5 Mon Sep 17 00:00:00 2001 From: adldotori Date: Sat, 8 Apr 2023 01:53:34 +0900 Subject: [PATCH] docs: update readme for #3 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ca2b14..1765597 100644 --- a/README.md +++ b/README.md @@ -120,11 +120,11 @@ Some tools requires environment variables. Set envs depend on which tools you wa - You can send request to EVAL with `curl` or `httpie`. ```bash - curl -X POST -H "Content-Type: application/json" -d '{"session": "sessionid", "files": ["https://example.com/image.png"], "prompt": "Hi there!"}' http://localhost:8000/command + curl -X POST -H "Content-Type: application/json" -d '{"session": "sessionid", "files": [], "prompt": "Hi there!"}' http://localhost:8000/api/execute ``` ```bash - http POST http://localhost:8000/command session=sessionid files:='["https://example.com/image.png"]' prompt="Hi there!" + http POST http://localhost:8000/api/execute session=sessionid files:='[]' prompt="Hi there!" ``` - We are planning to make a GUI for EVAL so you can use it without terminal.