olca 0.2.30__tar.gz → 0.2.31__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {olca-0.2.30 → olca-0.2.31}/PKG-INFO +1 -1
- {olca-0.2.30 → olca-0.2.31}/olca/olcacli.py +15 -8
- {olca-0.2.30 → olca-0.2.31}/olca.egg-info/PKG-INFO +1 -1
- {olca-0.2.30 → olca-0.2.31}/pyproject.toml +1 -1
- {olca-0.2.30 → olca-0.2.31}/setup.py +1 -1
- {olca-0.2.30 → olca-0.2.31}/LICENSE +0 -0
- {olca-0.2.30 → olca-0.2.31}/README.md +0 -0
- {olca-0.2.30 → olca-0.2.31}/olca/__init__.py +0 -0
- {olca-0.2.30 → olca-0.2.31}/olca/fusewill_cli.py +0 -0
- {olca-0.2.30 → olca-0.2.31}/olca/fusewill_utils.py +0 -0
- {olca-0.2.30 → olca-0.2.31}/olca.egg-info/SOURCES.txt +0 -0
- {olca-0.2.30 → olca-0.2.31}/olca.egg-info/dependency_links.txt +0 -0
- {olca-0.2.30 → olca-0.2.31}/olca.egg-info/entry_points.txt +0 -0
- {olca-0.2.30 → olca-0.2.31}/olca.egg-info/requires.txt +0 -0
- {olca-0.2.30 → olca-0.2.31}/olca.egg-info/top_level.txt +0 -0
- {olca-0.2.30 → olca-0.2.31}/setup.cfg +0 -0
@@ -307,21 +307,28 @@ def generate_config_example():
|
|
307
307
|
default_temperature = 0
|
308
308
|
use_default_human_input = True
|
309
309
|
use_default_tracing = True
|
310
|
-
|
310
|
+
|
311
311
|
config = {
|
312
312
|
"api_keyname": input("api_keyname [OPENAI_API_KEY]: ") or "OPENAI_API_KEY",
|
313
313
|
"model_name": input("model_name [gpt-4o-mini]: ") or default_model_name,
|
314
314
|
"recursion_limit": int(input("recursion_limit [12]: ") or default_recursion_limit),
|
315
315
|
"temperature": float(input("temperature [0]: ") or default_temperature),
|
316
316
|
"human": input("human [true]: ").lower() in ["true", "yes", "y", "1", ""] or use_default_human_input,
|
317
|
-
"tracing": input("tracing [true]: ").lower() in ["true", "yes", "y", "1", ""] or use_default_tracing
|
318
|
-
"system_instructions": (
|
319
|
-
input(f"system_instructions [{default_system_instructions}]: ") or default_system_instructions
|
320
|
-
).replace("\n", " ").replace("system_instructions:","system_instructions: |\n\t"),
|
321
|
-
"user_input": (
|
322
|
-
input(f"user_input [{default_user_input}]: ") or default_user_input
|
323
|
-
).replace("\n", " ").replace("user_input:","user_input: |\n\t")
|
317
|
+
"tracing": input("tracing [true]: ").lower() in ["true", "yes", "y", "1", ""] or use_default_tracing
|
324
318
|
}
|
319
|
+
|
320
|
+
user_system_instructions = input(f"system_instructions [{default_system_instructions}]: ")
|
321
|
+
user_system_instructions = user_system_instructions or default_system_instructions
|
322
|
+
user_system_instructions = user_system_instructions.replace("\n", " ").replace("\r", " ").replace("\t", " ")
|
323
|
+
|
324
|
+
user_core_input = input(f"user_input [{default_user_input}]: ")
|
325
|
+
user_core_input = user_core_input or default_user_input
|
326
|
+
user_core_input = user_core_input.replace("\n", " ").replace("\r", " ").replace("\t", " ")
|
327
|
+
|
328
|
+
|
329
|
+
config["system_instructions"] = user_system_instructions
|
330
|
+
config["user_input"] = user_core_input
|
331
|
+
|
325
332
|
with open('olca.yml', 'w') as file:
|
326
333
|
yaml.dump(config, file)
|
327
334
|
print("Configuration file 'olca.yml' created successfully.")
|
@@ -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.31",
|
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
|
File without changes
|