olca 0.2.1__tar.gz → 0.2.3__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: olca
3
- Version: 0.2.1
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
 
@@ -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
- if not LANGSMITH_API_KEY:
13
- print("Error: LANGSMITH_API_KEY environment variable is not set.")
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.1
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
 
@@ -9,3 +9,4 @@ markdown
9
9
  langchain
10
10
  langchain-openai
11
11
  langchain-experimental
12
+ click
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "olca"
10
- version = "0.2.1"
10
+ version = "0.2.3"
11
11
  description = "A Python package for experimental usage of Langchain and Human-in-the-Loop"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.6"
@@ -26,7 +26,8 @@ dependencies = [
26
26
  "markdown",
27
27
  "langchain",
28
28
  "langchain-openai",
29
- "langchain-experimental"
29
+ "langchain-experimental",
30
+ "click",
30
31
  ]
31
32
  classifiers = [
32
33
  "Programming Language :: Python :: 3",
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='olca',
5
- version = "0.2.1",
5
+ version = "0.2.3",
6
6
  author='Jean GUillaume ISabelle',
7
7
  author_email='jgi@jgwill.com',
8
8
  description='A Python package for experimenting with Langchain agent and interactivity in Terminal modalities.',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes