Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ from langchain_openai import OpenAIEmbeddings
|
|
17 |
from langchain_community.embeddings.fastembed import FastEmbedEmbeddings
|
18 |
from langchain_openai import ChatOpenAI
|
19 |
os.environ["OPENAI_API_KEY"] = "sk-.............."
|
20 |
-
os.environ["GROQ_API_KEY"]=
|
21 |
from langchain_groq import ChatGroq
|
22 |
|
23 |
llmtemplate = """You’re an AI information specialist with a strong emphasis on extracting accurate information from markdown documents. Your expertise involves summarizing data succinctly while adhering to strict guidelines about neutrality and clarity.
|
|
|
17 |
from langchain_community.embeddings.fastembed import FastEmbedEmbeddings
|
18 |
from langchain_openai import ChatOpenAI
|
19 |
os.environ["OPENAI_API_KEY"] = "sk-.............."
|
20 |
+
os.environ["GROQ_API_KEY"]=os.getenv('GROQ_API_KEY')
|
21 |
from langchain_groq import ChatGroq
|
22 |
|
23 |
llmtemplate = """You’re an AI information specialist with a strong emphasis on extracting accurate information from markdown documents. Your expertise involves summarizing data succinctly while adhering to strict guidelines about neutrality and clarity.
|