env example

main
Kye 2 years ago
parent b9b9bb7554
commit 875dc67eb3

@ -0,0 +1,23 @@
OPENAI_API_KEY=""
WOLFRAM_ALPHA_APPID=""
ZAPIER_NLA_API_KEY=""
EVAL_PORT=8000
MODEL_NAME=""
CELERY_BROKER_URL=""
SERVER=""
USE_GPU="False"
PLAYGROUND_DIR="playground"
OPENAI_API_KEY="your_openai_api_key_here"
LOG_LEVEL="INFO"
BOT_NAME="Orca"
WINEDB_HOST="your_winedb_host_here"
WINEDB_PASSWORD="your_winedb_password_here"
BING_SEARCH_URL="your_bing_search_url_here"
BING_SUBSCRIPTION_KEY="your_bing_subscription_key_here"
SERPAPI_API_KEY="your_serpapi_api_key_here"
IFTTTKey=""

@ -518,7 +518,6 @@ write protocol:
<filepath>
<content>
"""
import os
@ -568,10 +567,6 @@ read protocol:
<filepath>|<start line>-<end line>
"""
from typing import List, Optional
class Line:
def __init__(self, content: str, line_number: int, depth: int):
self.__content: str = content
@ -802,9 +797,7 @@ test.py|7,5|9,13|news_titles = []
test.py|11,16|11,16|_titles
"""
import os
import re
from typing import Tuple
@ -1096,7 +1089,6 @@ class CodeEditor(BaseToolSet):
########################### MODELS
import os
import uuid
import numpy as np
@ -1440,7 +1432,6 @@ import asyncio
import nest_asyncio
# Tools
import os
from contextlib import contextmanager
from typing import Optional
from langchain.agents import tool
@ -1574,7 +1565,6 @@ web_search = DuckDuckGoSearchRun()
######################################################## zapier
import os
# get from https://platform.openai.com/
os.environ["OPENAI_API_KEY"] = os.environ.get("OPENAI_API_KEY", "")

Loading…
Cancel
Save