mirror of
https://github.com/corca-ai/EVAL
synced 2024-10-30 09:20:44 +00:00
assets | ||
tools | ||
.gitignore | ||
agent.py | ||
docker-compose.yml | ||
Dockerfile | ||
env.py | ||
handler.py | ||
llm.py | ||
main.py | ||
README.md | ||
requirements.txt | ||
s3.py | ||
utils.py |
Usage
S3
- Create a bucket.
- Turn off the "Block all public access" setting for the bucket.
- Add the following text to Bucket Policy.
{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowPublicRead", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::{your-bucket-name}/*" } ] }
Environment
You must need this environments.
OPENAI_API_KEY
You need this environments.
serpapi: SERPAPI_API_KEY
bing-search: BING_SEARCH_URL, BING_SUBSCRIPTION_KEY