olca 0.2.27__tar.gz → 0.2.29__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {olca-0.2.27 → olca-0.2.29}/PKG-INFO +1 -1
- {olca-0.2.27 → olca-0.2.29}/olca/olcacli.py +20 -9
- {olca-0.2.27 → olca-0.2.29}/olca.egg-info/PKG-INFO +1 -1
- {olca-0.2.27 → olca-0.2.29}/pyproject.toml +1 -1
- {olca-0.2.27 → olca-0.2.29}/setup.py +1 -1
- {olca-0.2.27 → olca-0.2.29}/LICENSE +0 -0
- {olca-0.2.27 → olca-0.2.29}/README.md +0 -0
- {olca-0.2.27 → olca-0.2.29}/olca/__init__.py +0 -0
- {olca-0.2.27 → olca-0.2.29}/olca/fusewill_cli.py +0 -0
- {olca-0.2.27 → olca-0.2.29}/olca/fusewill_utils.py +0 -0
- {olca-0.2.27 → olca-0.2.29}/olca.egg-info/SOURCES.txt +0 -0
- {olca-0.2.27 → olca-0.2.29}/olca.egg-info/dependency_links.txt +0 -0
- {olca-0.2.27 → olca-0.2.29}/olca.egg-info/entry_points.txt +0 -0
- {olca-0.2.27 → olca-0.2.29}/olca.egg-info/requires.txt +0 -0
- {olca-0.2.27 → olca-0.2.29}/olca.egg-info/top_level.txt +0 -0
- {olca-0.2.27 → olca-0.2.29}/setup.cfg +0 -0
@@ -299,19 +299,30 @@ def setup_required_directories(system_instructions, user_input):
|
|
299
299
|
|
300
300
|
def generate_config_example():
|
301
301
|
try:
|
302
|
-
default_system_instructions = "You are interacting using the human tool addressing carefully what the user is asking.
|
303
|
-
|
302
|
+
default_system_instructions = "You are interacting using the human tool addressing carefully what the user is asking."
|
304
303
|
default_user_input = "Interact with me to write a story using the 3 act structure that we will save in ./story/ - Make sure you interact with me and wont quit."
|
305
304
|
|
305
|
+
default_model_name = "gpt-4o-mini"
|
306
|
+
default_recursion_limit = 12
|
307
|
+
default_temperature = 0
|
308
|
+
use_default_human_input = True
|
309
|
+
use_default_tracing = True
|
310
|
+
|
306
311
|
config = {
|
307
312
|
"api_keyname": input("api_keyname [OPENAI_API_KEY]: ") or "OPENAI_API_KEY",
|
308
|
-
"model_name": input("model_name [gpt-4o-mini]: ") or
|
309
|
-
"recursion_limit": int(input("recursion_limit [12]: ") or
|
310
|
-
"temperature": float(input("temperature [0]: ") or
|
311
|
-
"human": input("human [true]: ").lower() in ["true", "yes", "y", "1", ""] or
|
312
|
-
"tracing": input("tracing [true]: ").lower() in ["true", "yes", "y", "1", ""] or
|
313
|
-
"system_instructions":
|
314
|
-
|
313
|
+
"model_name": input("model_name [gpt-4o-mini]: ") or default_model_name,
|
314
|
+
"recursion_limit": int(input("recursion_limit [12]: ") or default_recursion_limit),
|
315
|
+
"temperature": float(input("temperature [0]: ") or default_temperature),
|
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}]: ").replace("\n", " ")
|
320
|
+
or default_system_instructions
|
321
|
+
).replace("\n", " "),
|
322
|
+
"user_input": (
|
323
|
+
input(f"user_input [{default_user_input}]: ").replace("\n", " ")
|
324
|
+
or default_user_input
|
325
|
+
).replace("\n", " ")
|
315
326
|
}
|
316
327
|
with open('olca.yml', 'w') as file:
|
317
328
|
yaml.dump(config, file)
|
@@ -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.29",
|
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
|