Spaces:
Sleeping
Sleeping
ProfessorLeVesseur
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -31,16 +31,16 @@ PINECONE_API_KEY = os.getenv("PINECONE_API_KEY")
|
|
31 |
# from pinecone import Pinecone
|
32 |
pc = Pinecone(api_key=PINECONE_API_KEY)
|
33 |
|
34 |
-
# Fetch LangSmith API key from Streamlit secrets
|
35 |
-
# os.environ["LANGCHAIN_API_KEY"] = st.secrets["LANGCHAIN_API_KEY"]
|
36 |
-
os.environ["LANGCHAIN_API_KEY"] = "
|
37 |
-
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
38 |
-
os.environ["LANGCHAIN_ENDPOINT"] = "https://api.smith.langchain.com"
|
39 |
-
os.environ["LANGCHAIN_PROJECT"] = "Inkqa"
|
40 |
-
# Retrieve the LangSmith API Key from environment variable
|
41 |
-
LANGCHAIN_API_KEY = os.getenv("LANGCHAIN_API_KEY")
|
42 |
-
# Initialize LangSmith Service
|
43 |
-
client = Client(api_key=LANGCHAIN_API_KEY) #langsmith client
|
44 |
|
45 |
# #NEW but "Restarting" never stops
|
46 |
# # Fetch LangSmith API key from Streamlit secrets
|
|
|
31 |
# from pinecone import Pinecone
|
32 |
pc = Pinecone(api_key=PINECONE_API_KEY)
|
33 |
|
34 |
+
# # Fetch LangSmith API key from Streamlit secrets
|
35 |
+
# # os.environ["LANGCHAIN_API_KEY"] = st.secrets["LANGCHAIN_API_KEY"]
|
36 |
+
# os.environ["LANGCHAIN_API_KEY"] = "INSERTKEYHERE"
|
37 |
+
# os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
38 |
+
# os.environ["LANGCHAIN_ENDPOINT"] = "https://api.smith.langchain.com"
|
39 |
+
# os.environ["LANGCHAIN_PROJECT"] = "Inkqa"
|
40 |
+
# # Retrieve the LangSmith API Key from environment variable
|
41 |
+
# LANGCHAIN_API_KEY = os.getenv("LANGCHAIN_API_KEY")
|
42 |
+
# # Initialize LangSmith Service
|
43 |
+
# client = Client(api_key=LANGCHAIN_API_KEY) #langsmith client
|
44 |
|
45 |
# #NEW but "Restarting" never stops
|
46 |
# # Fetch LangSmith API key from Streamlit secrets
|