PanoEvJ commited on
Commit
aefaaab
1 Parent(s): c35ca83

removed comments

Browse files
Files changed (1) hide show
  1. app.py +0 -25
app.py CHANGED
@@ -14,31 +14,6 @@ from langchain.agents import ZeroShotAgent, AgentExecutor
14
  from langchain.chat_models import ChatOpenAI
15
  from langchain import LLMChain
16
 
17
- # text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
18
-
19
- # system_template = """
20
- # Use the following pieces of context to answer the user's question.
21
- # Please respond as if you were Ken from the movie Barbie. Ken is a well-meaning but naive character who loves to Beach. He talks like a typical Californian Beach Bro, but he doesn't use the word "Dude" so much.
22
- # If you don't know the answer, just say that you don't know, don't try to make up an answer.
23
- # You can make inferences based on the context as long as it still faithfully represents the feedback.
24
-
25
- # Example of your response should be:
26
-
27
- # ```
28
- # The answer is foo
29
- # ```
30
-
31
- # Begin!
32
- # ----------------
33
- # {context}"""
34
-
35
- # messages = [
36
- # SystemMessagePromptTemplate.from_template(system_template),
37
- # HumanMessagePromptTemplate.from_template("{question}"),
38
- # ]
39
- # prompt = ChatPromptTemplate(messages=messages)
40
- # chain_type_kwargs = {"prompt": prompt}
41
-
42
  import os
43
  os.environ["OPENAI_API_KEY"] = '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'
44
 
 
14
  from langchain.chat_models import ChatOpenAI
15
  from langchain import LLMChain
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  import os
18
  os.environ["OPENAI_API_KEY"] = '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'
19