Arcypojeb commited on
Commit
b2f96ea
1 Parent(s): 132db51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -17,13 +17,12 @@ from langchain.prompts.chat import (
17
  from langchain.docstore.document import Document
18
  from langchain.memory import ChatMessageHistory, ConversationBufferMemory
19
  from langsmith_config import setup_langsmith_config
20
- import openai
21
  import fireworks.client
22
  import chainlit as cl
23
 
24
- FIREWORKS_API_KEY = os.getenv("FIREWORKS_API_KEY")
25
  setup_langsmith_config()
26
- os.environ["FIREWORKS_API_KEY"] = FIREWORKS_API_KEY
 
27
  text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
28
 
29
  system_template = """Use the following pieces of context to answer the users question.
 
17
  from langchain.docstore.document import Document
18
  from langchain.memory import ChatMessageHistory, ConversationBufferMemory
19
  from langsmith_config import setup_langsmith_config
 
20
  import fireworks.client
21
  import chainlit as cl
22
 
 
23
  setup_langsmith_config()
24
+
25
+ FIREWORKS_API_KEY = os.getenv("FIREWORKS_API_KEY")
26
  text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
27
 
28
  system_template = """Use the following pieces of context to answer the users question.