Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,10 +29,11 @@ pc = Pinecone(api_key=PINECONE_API_KEY)
|
|
29 |
|
30 |
LANGCHAIN_TRACING_V2="true"
|
31 |
LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"
|
32 |
-
LANGCHAIN_API_KEY = st.secrets["LANGCHAIN_API_KEY"]
|
|
|
33 |
LANGCHAIN_PROJECT="Inkqa"
|
34 |
|
35 |
-
client = Client(
|
36 |
|
37 |
#------------------------------------------------------------------------
|
38 |
# Initialize
|
|
|
29 |
|
30 |
LANGCHAIN_TRACING_V2="true"
|
31 |
LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"
|
32 |
+
# LANGCHAIN_API_KEY = st.secrets["LANGCHAIN_API_KEY"]
|
33 |
+
os.environ["LANGCHAIN_API_KEY"] = st.secrets["api_keys"]["LANGCHAIN_API_KEY"]
|
34 |
LANGCHAIN_PROJECT="Inkqa"
|
35 |
|
36 |
+
client = Client() # Langsmith client
|
37 |
|
38 |
#------------------------------------------------------------------------
|
39 |
# Initialize
|