olca 0.2.31__py3-none-any.whl → 0.2.32__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
olca/olcacli.py CHANGED
@@ -177,11 +177,11 @@ def main():
177
177
  if args.yes:
178
178
  pass
179
179
  else:
180
- generate_config_example()
180
+ initialize_config_file()
181
181
  return
182
182
 
183
183
  if not os.path.exists(olca_config_file):
184
- generate_config_example()
184
+ initialize_config_file()
185
185
  return
186
186
 
187
187
  config = load_config(olca_config_file)
@@ -269,6 +269,9 @@ def main():
269
269
  else:
270
270
  tools = load_tools( selected_tools, allow_dangerous_tools=True)
271
271
 
272
+ if human_switch:
273
+ user_input = user_input + " Dont forget to USE THE HUMAN-IN-THE-LOOP TOOL"
274
+ system_instructions= system_instructions + ". Use the human-in-the-loop tool"
272
275
 
273
276
  # Define the graph
274
277
  graph = create_react_agent(model, tools=tools)
@@ -297,7 +300,7 @@ def setup_required_directories(system_instructions, user_input):
297
300
  #We dont want to stop the program if it could not create the extra directories but we want to ensure common olca directories exist
298
301
  ensure_directories_exist()
299
302
 
300
- def generate_config_example():
303
+ def initialize_config_file():
301
304
  try:
302
305
  default_system_instructions = "You are interacting using the human tool addressing carefully what the user is asking."
303
306
  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."
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: olca
3
- Version: 0.2.31
3
+ Version: 0.2.32
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
@@ -0,0 +1,10 @@
1
+ olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
2
+ olca/fusewill_cli.py,sha256=ZFW2Oeq-gQpAaTIxzsztQWDMv7-R9WJTVcSspbTxpPk,5926
3
+ olca/fusewill_utils.py,sha256=TyyCVRkWeXaS14vh0BXGK-tj0ZPZ3_uQNnAOM-IE9FA,3405
4
+ olca/olcacli.py,sha256=s-dqJRE6xqQLG_qSwp8prahRV3vZNueEaK7OXgmU9wc,14885
5
+ olca-0.2.32.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
6
+ olca-0.2.32.dist-info/METADATA,sha256=GioYe8rCVBdvGIw8QaIjkiMMQqvZfjYtRw85_z9ZcS4,25311
7
+ olca-0.2.32.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
8
+ olca-0.2.32.dist-info/entry_points.txt,sha256=AhP5FMv6vnOq9C76V_vxRVIO50smnZXG4RIY47oD2_U,103
9
+ olca-0.2.32.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
10
+ olca-0.2.32.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
2
- olca/fusewill_cli.py,sha256=ZFW2Oeq-gQpAaTIxzsztQWDMv7-R9WJTVcSspbTxpPk,5926
3
- olca/fusewill_utils.py,sha256=TyyCVRkWeXaS14vh0BXGK-tj0ZPZ3_uQNnAOM-IE9FA,3405
4
- olca/olcacli.py,sha256=TqA3nmeL-ZO9RgMqhtlMNLcg9ukJS7aXkQZ7RYRyv1o,14698
5
- olca-0.2.31.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
6
- olca-0.2.31.dist-info/METADATA,sha256=6jJkCvYpS0M6kjykqOQoz1EAzVTeI-JQ8uU5t6e_l4I,25311
7
- olca-0.2.31.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
8
- olca-0.2.31.dist-info/entry_points.txt,sha256=AhP5FMv6vnOq9C76V_vxRVIO50smnZXG4RIY47oD2_U,103
9
- olca-0.2.31.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
10
- olca-0.2.31.dist-info/RECORD,,
File without changes
File without changes