corca-ai / EVAL
- суббота, 8 апреля 2023 г. в 00:14:21
[Corca / DEV] EVAL(Elastic Versatile Agent with Langchain) will execute all your requests. Just like an eval method!
EVAL(Elastic Versatile Agent with Langchain) will execute all your requests. Like the eval method!
You don't have to think about how. If you tell them the results you want, they'll search, code, run, and test the Internet themselves, and they'll return the final results.
EVAL Making a full-fledged web application with multiple files
EVAL Making a UI for itself
EVAL's self-managed github account. EVAL does everything except for signup and bio setting.
Here is an example.
Thanks to LangChain, Visual ChatGPT, llama index.
We also don't know what tools EVAL will create. Every day, It will create the right tools to execute your request.
You need to write some environment variables in the .env
file. Refer .env.example if you don't know how to format it.
Mandatory
Manatory envs are required in order to serve EVAL.
OPENAI_API_KEY
- OpenAI api keyOptional
Each optional env has default value, so you don't need to set unless you want to change it.
EVAL_PORT
- port (default: 8000)SERVER
- server address (default: http://localhost:8000)LOG_LEVEL
- INFO | DEBUG (default: INFO)BOT_NAME
- give it a name! (default: Orca)MODEL_NAME
- model name for GPT (default: gpt-4)For More Tools
Some tools requires environment variables. Set envs depend on which tools you want to use.
SERPAPI_API_KEY
BING_SEARCH_URL
BING_SUBSCRIPTION_KEY
eval
- without GPU, much lighter
docker-compose up --build eval
eval.gpu
- with GPU, for multi-modal conversation
docker-compose up --build eval.gpu
POST /api/execute
session
- session idfiles
- urls of file inputsprompt
- promptYou can send request to EVAL with curl
or httpie
.
curl -X POST -H "Content-Type: application/json" -d '{"session": "sessionid", "files": [], "prompt": "Hi there!"}' http://localhost:8000/api/execute
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.
Thanks to the following repositories.