Spaces:
Running
Running
Update llm_functions.py
Browse files- llm_functions.py +2 -2
llm_functions.py
CHANGED
@@ -5,8 +5,8 @@ from langchain.chains import LLMChain
|
|
5 |
from langchain.memory import ConversationBufferMemory
|
6 |
from langchain.chains import RetrievalQA
|
7 |
|
8 |
-
import
|
9 |
-
|
10 |
|
11 |
def get_conversational_chain():
|
12 |
prompt_template = """You are an expert and polite HR.
|
|
|
5 |
from langchain.memory import ConversationBufferMemory
|
6 |
from langchain.chains import RetrievalQA
|
7 |
|
8 |
+
import os
|
9 |
+
api_key = os.getenv("OPENAI_API_KEY")
|
10 |
|
11 |
def get_conversational_chain():
|
12 |
prompt_template = """You are an expert and polite HR.
|