olca 0.2.1__py3-none-any.whl → 0.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- olca/olcacli.py +4 -3
- {olca-0.2.1.dist-info → olca-0.2.3.dist-info}/METADATA +2 -1
- olca-0.2.3.dist-info/RECORD +8 -0
- olca-0.2.1.dist-info/RECORD +0 -8
- {olca-0.2.1.dist-info → olca-0.2.3.dist-info}/LICENSE +0 -0
- {olca-0.2.1.dist-info → olca-0.2.3.dist-info}/WHEEL +0 -0
- {olca-0.2.1.dist-info → olca-0.2.3.dist-info}/entry_points.txt +0 -0
- {olca-0.2.1.dist-info → olca-0.2.3.dist-info}/top_level.txt +0 -0
olca/olcacli.py
CHANGED
@@ -9,10 +9,11 @@ import yaml
|
|
9
9
|
import langsmith
|
10
10
|
# Initialize LangSmith client
|
11
11
|
LANGSMITH_API_KEY = os.getenv("LANGSMITH_API_KEY")
|
12
|
-
|
13
|
-
|
12
|
+
LANGCHAIN_API_KEY = os.getenv("LANGCHAIN_API_KEY")
|
13
|
+
if not LANGSMITH_API_KEY and not LANGCHAIN_API_KEY:
|
14
|
+
print("Error: LANGSMITH_API_KEY or LANGCHAIN_API_KEY environment variable is not set.")
|
14
15
|
exit(1)
|
15
|
-
client = langsmith.Client(api_key=LANGSMITH_API_KEY)
|
16
|
+
client = langsmith.Client(api_key=LANGSMITH_API_KEY or LANGCHAIN_API_KEY)
|
16
17
|
|
17
18
|
|
18
19
|
#jgwill/olca1
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: olca
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.3
|
4
4
|
Summary: A Python package for experimental usage of Langchain and Human-in-the-Loop
|
5
5
|
Home-page: https://github.com/jgwill/olca
|
6
6
|
Author: Jean GUillaume ISabelle
|
@@ -362,6 +362,7 @@ Requires-Dist: markdown
|
|
362
362
|
Requires-Dist: langchain
|
363
363
|
Requires-Dist: langchain-openai
|
364
364
|
Requires-Dist: langchain-experimental
|
365
|
+
Requires-Dist: click
|
365
366
|
|
366
367
|
# oLCa
|
367
368
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
|
2
|
+
olca/olcacli.py,sha256=Kl40yXAcrySrK9GMpEkjNgKL-V9iVmZnT03tR3GcJE4,11731
|
3
|
+
olca-0.2.3.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
4
|
+
olca-0.2.3.dist-info/METADATA,sha256=HSZBqV5cy0MYzOIIYFJUog5u7TDzl73iqJHRfENrfm8,21986
|
5
|
+
olca-0.2.3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
6
|
+
olca-0.2.3.dist-info/entry_points.txt,sha256=XwHDvSB6qlO1oIEtLCwrVJoVV91S405JL_iXl0G211A,44
|
7
|
+
olca-0.2.3.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
|
8
|
+
olca-0.2.3.dist-info/RECORD,,
|
olca-0.2.1.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
|
2
|
-
olca/olcacli.py,sha256=HSdiHk-8PNZplX5Bh6cnWl9phmO8Jb-dql23gMRzNr8,11612
|
3
|
-
olca-0.2.1.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
4
|
-
olca-0.2.1.dist-info/METADATA,sha256=fr_SKCz60D2bxuvZylslB8NAAQEHdQ6wAs8owZDZ6Zo,21965
|
5
|
-
olca-0.2.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
6
|
-
olca-0.2.1.dist-info/entry_points.txt,sha256=XwHDvSB6qlO1oIEtLCwrVJoVV91S405JL_iXl0G211A,44
|
7
|
-
olca-0.2.1.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
|
8
|
-
olca-0.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|