Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,6 @@ import base64
|
|
12 |
|
13 |
st.set_page_config(layout="wide")
|
14 |
os.environ["OPENAI_API_KEY"] = "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"
|
15 |
-
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
16 |
-
os.environ["LANGCHAIN_API_KEY"] = "ls__aca2f2f97d2f4b9caef0ef75c3c33f9d"
|
17 |
|
18 |
get_references = lambda relevant_docs: " ".join(
|
19 |
[f"[{ref}]" for ref in sorted([ref.metadata["chunk_id"] for ref in relevant_docs])]
|
|
|
12 |
|
13 |
st.set_page_config(layout="wide")
|
14 |
os.environ["OPENAI_API_KEY"] = "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"
|
|
|
|
|
15 |
|
16 |
get_references = lambda relevant_docs: " ".join(
|
17 |
[f"[{ref}]" for ref in sorted([ref.metadata["chunk_id"] for ref in relevant_docs])]
|