Skip to content

Commit

Permalink
fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
genekogan committed Oct 17, 2023
1 parent 05cd8ef commit a90bdb3
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions bots/eden_bot/eden_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,6 @@
from . import config
from . import settings




# experimental

from logos.scenarios import QAChat
from logos.sample_data.docs import get_sample_docs

docs = get_sample_docs()
print(docs)
qa = QAChat(docs)
print("QA")
print(qa)




EDEN_API_URL = "https://api.eden.art" # os.getenv("EDEN_API_URL")
EDEN_API_KEY = os.getenv("EDEN_API_KEY")
EDEN_API_SECRET = os.getenv("EDEN_API_SECRET")
Expand All @@ -53,6 +36,14 @@
ALLOWED_LERP_BACKDOOR_USERS = CONFIG["allowed_channels"]


# experimental
from logos.scenarios import QAChat
from logos.sample_data.docs import get_sample_docs
os.environ['OPENAI_API_KEY'] = os.environ['LM_OPENAI_API_KEY']
docs = get_sample_docs()
qa = QAChat(docs)


@dataclass
class GenerationLoopInput:
api_url: str
Expand Down

0 comments on commit a90bdb3

Please sign in to comment.