ProfessorLeVesseur commited on
Commit
09aa74d
·
verified ·
1 Parent(s): d6d4fca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
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"] = "ls__1819fb2979e44f0a9e410688d81c6390"
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