olca 0.2.13__tar.gz → 0.2.14__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {olca-0.2.13 → olca-0.2.14}/PKG-INFO +1 -1
- {olca-0.2.13 → olca-0.2.14}/olca/fusewill_cli.py +2 -1
- {olca-0.2.13 → olca-0.2.14}/olca/fusewill_utils.py +8 -1
- {olca-0.2.13 → olca-0.2.14}/olca.egg-info/PKG-INFO +1 -1
- {olca-0.2.13 → olca-0.2.14}/pyproject.toml +1 -1
- {olca-0.2.13 → olca-0.2.14}/setup.py +1 -1
- {olca-0.2.13 → olca-0.2.14}/LICENSE +0 -0
- {olca-0.2.13 → olca-0.2.14}/README.md +0 -0
- {olca-0.2.13 → olca-0.2.14}/olca/__init__.py +0 -0
- {olca-0.2.13 → olca-0.2.14}/olca/olcacli.py +0 -0
- {olca-0.2.13 → olca-0.2.14}/olca.egg-info/SOURCES.txt +0 -0
- {olca-0.2.13 → olca-0.2.14}/olca.egg-info/dependency_links.txt +0 -0
- {olca-0.2.13 → olca-0.2.14}/olca.egg-info/entry_points.txt +0 -0
- {olca-0.2.13 → olca-0.2.14}/olca.egg-info/requires.txt +0 -0
- {olca-0.2.13 → olca-0.2.14}/olca.egg-info/top_level.txt +0 -0
- {olca-0.2.13 → olca-0.2.14}/setup.cfg +0 -0
@@ -2,6 +2,7 @@ import os
|
|
2
2
|
import sys
|
3
3
|
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
|
4
4
|
import argparse
|
5
|
+
import fusewill_utils as fu
|
5
6
|
from fusewill_utils import (
|
6
7
|
list_traces,
|
7
8
|
create_dataset,
|
@@ -12,7 +13,7 @@ from fusewill_utils import (
|
|
12
13
|
)
|
13
14
|
import dotenv
|
14
15
|
import json
|
15
|
-
dotenv.load_dotenv()
|
16
|
+
#dotenv.load_dotenv()
|
16
17
|
|
17
18
|
def main():
|
18
19
|
parser = argparse.ArgumentParser(description="Langfuse CLI Wrapper")
|
@@ -6,7 +6,14 @@ sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
|
|
6
6
|
import json
|
7
7
|
|
8
8
|
import dotenv
|
9
|
-
dotenv.load_dotenv()
|
9
|
+
dotenv.load_dotenv(dotenv_path=".")
|
10
|
+
#if no LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY in .env, then it will try to read them from current directory
|
11
|
+
if not os.getenv("LANGFUSE_PUBLIC_KEY") or not os.getenv("LANGFUSE_SECRET_KEY"):
|
12
|
+
dotenv.load_dotenv()
|
13
|
+
#load home dotenv
|
14
|
+
|
15
|
+
if not os.getenv("LANGFUSE_PUBLIC_KEY") or not os.getenv("LANGFUSE_SECRET_KEY"):
|
16
|
+
dotenv.load_dotenv(dotenv_path=os.path.expanduser("~/.env"))
|
10
17
|
|
11
18
|
langfuse = Langfuse()
|
12
19
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='olca',
|
5
|
-
version = "0.2.
|
5
|
+
version = "0.2.14",
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|