-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
49 lines (40 loc) · 1.7 KB
/
.env.example
File metadata and controls
49 lines (40 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Google Custom Search Engine
# Create the below values here: https://programmablesearchengine.google.com/u/3/controlpanel/create
# Enable Search API: https://console.cloud.google.com/apis/library/customsearch.googleapis.com
# Get the key here: https://developers.google.com/custom-search/v1/introduction?authuser=3
# Enable Safe Browsing API: https://console.cloud.google.com/apis/api/safebrowsing.googleapis.com/
GOOGLE_API_KEYS="key1,key2" # API keys of all the team members
GOOGLE_SAFEBROWSING_API_KEYS="key1,key2"
GOOGLE_PROGRAMMABLE_SEARCH_ENGINE_ID_CX=012313894b99e45d6
# For models deployed using an OpenAI-compatible API
OPENAI_BASE_URL=
OPENAI_API_KEY=
LLM_NAME=Llama-3.3-70B
LLM_KNOWLEDGE_CUTOFF=2023-04
# # For models deployed on Azure AI services
# AZURE_OPENAI_ENDPOINT=https://<your-endpoint>.services.ai.azure.com/
# AZURE_OPENAI_API_KEY=
# OPENAI_API_VERSION=2024-07-01-preview
# LLM_NAME=Llama-3.3-70B
# LLM_KNOWLEDGE_CUTOFF=2023-Oct
# To access the MiniLM models.
CO_API_URL=http://localhost:8000
CO_API_KEY=mykey
EMBED_API_URL=${CO_API_URL}
# Evaluator can be hosted locally using `python3 host_models.py`
EVALUATOR_API_URL=http://localhost:8000/
# To get access to the ChainEvaluator model
HF_TOKEN=
# to allow HumanEval
HF_ALLOW_CODE_EVAL=1
HF_DATASETS_TRUST_REMOTE_CODE=True
# User agent used to prevent sites from blocking us when scraping
SCRAPER_USER_AGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
USER_AGENT=${SCRAPER_USER_AGENT}
# Maximum number pages to scrape from Google
SCRAPER_MAX_URL_FETCHES=10
SCRAPER_MAX_FETCH_RESULTS=10
# Cache settings
# We cache things for 1 day by default
CACHE_DEFAULT_TTL=86400
CACHE_FOLDER=cache_files