olca 0.2.26__tar.gz → 0.2.27__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: olca
3
- Version: 0.2.26
3
+ Version: 0.2.27
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
@@ -299,6 +299,10 @@ 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. You carefully go step by step in your interaction with the user. You are clear and concise in your communication wrapping up the conversation in a coherent manner for the interaction. You make sure to always present what you think is the end-result of the work before quitting the loop and exit the workflow."
303
+
304
+ 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
+
302
306
  config = {
303
307
  "api_keyname": input("api_keyname [OPENAI_API_KEY]: ") or "OPENAI_API_KEY",
304
308
  "model_name": input("model_name [gpt-4o-mini]: ") or "gpt-4o-mini",
@@ -306,8 +310,8 @@ def generate_config_example():
306
310
  "temperature": float(input("temperature [0]: ") or 0),
307
311
  "human": input("human [true]: ").lower() in ["true", "yes", "y", "1", ""] or True,
308
312
  "tracing": input("tracing [true]: ").lower() in ["true", "yes", "y", "1", ""] or True,
309
- "system_instructions": input("system_instructions [You are interacting using the human tool addressing carefully what the user is asking. You carefully go step by step in your interaction with the user. You are clear and concise in your communication wrapping up the conversation in a coherent manner for the interaction. You make sure to always present what you think is the end-result of the work before quitting the loop and exit the workflow.]: ") or "You are interacting using the human tool addressing carefully what the user is asking. You carefully go step by step in your interaction with the user. You are clear and concise in your communication wrapping up the conversation in a coherent manner for the interaction. You make sure to always present what you think is the end-result of the work before quitting the loop and exit the workflow.",
310
- "user_input": input("user_input [Interact with me to write a story using the 3 act structure that we will save in ./story/]: ") or "Interact with me to write a story using the 3 act structure that we will save in ./story/"
313
+ "system_instructions": input(f"system_instructions [{default_system_instructions}]: ") or default_system_instructions,
314
+ "user_input": input(f"user_input [{default_user_input}]: ") or default_user_input
311
315
  }
312
316
  with open('olca.yml', 'w') as file:
313
317
  yaml.dump(config, file)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: olca
3
- Version: 0.2.26
3
+ Version: 0.2.27
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
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "olca"
10
- version = "0.2.26"
10
+ version = "0.2.27"
11
11
 
12
12
  description = "A Python package for experimental usage of Langchain and Human-in-the-Loop"
13
13
  readme = "README.md"
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='olca',
5
- version = "0.2.26",
5
+ version = "0.2.27",
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