olca 0.2.82__py3-none-any.whl → 0.2.84__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
olca/fusewill_cli.py CHANGED
@@ -310,7 +310,6 @@ def main():
310
310
  for s in sessions:
311
311
  writer.writerow(s)
312
312
  else: # default to JSON
313
- import _json
314
313
  with open(output_path, 'w') as f:
315
314
  _json.dump(sessions, f, indent=2)
316
315
 
@@ -327,7 +326,6 @@ def main():
327
326
  writer.writerow(session)
328
327
  print(f"Session written to {os.path.realpath(args.output)}")
329
328
  else:
330
- import _json
331
329
  with open(args.output, 'w') as f:
332
330
  _json.dump(session, f, indent=2)
333
331
  print(f"Session written to {os.path.realpath(args.output)}")
olca/fusewill_utils.py CHANGED
@@ -31,7 +31,6 @@ from langfuse import Langfuse
31
31
  import os
32
32
  import sys
33
33
  sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
34
- import json
35
34
 
36
35
  _DEBUG_=False
37
36
  if _DEBUG_:
olca/oiv.py CHANGED
@@ -16,7 +16,7 @@ warnings.filterwarnings("ignore", message="The function `loads` is in beta. It i
16
16
  DEBUG_MODE=False
17
17
 
18
18
  prompt=None
19
- def _create_agent_tools(tool_name = "arxiv",temperature = 0.0,tool_hub_tag = "jgwill/react",chatbot_model = "gpt-4o-mini"):
19
+ def _create_agent_tools(tool_name = "arxiv",temperature = 0.0,tool_hub_tag = "jgwill/oiv",chatbot_model = "gpt-4o-mini"):
20
20
  global prompt
21
21
 
22
22
  llm = ChatOpenAI(temperature=temperature,name=chatbot_model)
@@ -54,7 +54,7 @@ def create_agent_executor(tools, agent) -> AgentExecutor:
54
54
  # tools, agent=_create_agent_tools()
55
55
 
56
56
  # agent_executor=create_agent_executor(tools, agent)
57
- def ask_agent(input_request, agent_executor=None,tool_hub_tag = "jgwill/react",chatbot_model = "gpt-4o-mini"):
57
+ def ask_agent(input_request, agent_executor=None,tool_hub_tag = "jgwill/oiv",chatbot_model = "gpt-4o-mini"):
58
58
  if agent_executor is None:
59
59
  tools, agent = _create_agent_tools(tool_hub_tag=tool_hub_tag)
60
60
  agent_executor = create_agent_executor(tools, agent)
@@ -95,7 +95,7 @@ def main():
95
95
  args = parse_cli_arguments()
96
96
 
97
97
  input_request = args.input
98
- tool_hub_tag = "jgwill/react" if args.hub_tag is None else args.hub_tag
98
+ tool_hub_tag = "jgwill/oiv" if args.hub_tag is None else args.hub_tag
99
99
  resp = ask_agent(input_request,tool_hub_tag=tool_hub_tag,chatbot_model=args.chatbot_model)
100
100
  outdir=os.path.join(os.getcwd(),"output")
101
101
  os.makedirs(outdir, exist_ok=True)
@@ -131,7 +131,7 @@ def parse_cli_arguments():
131
131
  help='an input request for the searched article')
132
132
  ##--hub_tag
133
133
  parser.add_argument('-H','-ht','--hub_tag', type=str,
134
- help='The hub tag for the process',default="jgwill/react")
134
+ help='The hub tag for the process',default="jgwill/oiv")
135
135
  #--chatbot_model
136
136
  parser.add_argument('-M','-m','--chatbot_model', type=str,
137
137
  help='a chatbot model for the processing',default="gpt-4o-mini")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: olca
3
- Version: 0.2.82
3
+ Version: 0.2.84
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,15 @@
1
+ olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
2
+ olca/fusewill_cli.py,sha256=AJZ-s23F5IMtukob9Hh4yMUG8mc_WbN38W9U-L7h7aM,18650
3
+ olca/fusewill_utils.py,sha256=Ic4W4_iOI6e741RvOFURW47P8RKMwpoKQwU2cjwjYUg,19192
4
+ olca/oiv.py,sha256=BPkrXdO7POhLQQJZpS-F1_7MYm_Wtqbs-1kDfg9EaiI,4602
5
+ olca/olcacli.py,sha256=wwn4mL1kGonigI9w6UEsnFJDWQ6yONxqvogjrCj-Og4,11246
6
+ olca/olcahelper.py,sha256=v16ETPboJFdJdkL1iAJ86_oAhkFo5jMFfx5oivOG8kA,4115
7
+ olca/prompts.py,sha256=q7lvDZ8n_K6ea2nu3K5R2fgBgQYrCIEjh0cA9fUlMFI,3697
8
+ olca/tracing.py,sha256=cEfPNZoI-PbMHFpX8bvY7OajeW4yvZBMycqwj6sRpDE,1637
9
+ olca/utils.py,sha256=kDxKwD51234OvA6PIW9IfAND8DHwd8lSyOvSf4abvPE,916
10
+ olca-0.2.84.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
11
+ olca-0.2.84.dist-info/METADATA,sha256=LimUQCT1KtQC2pusfopdPsI-2AXSWCuEf3AueHDOY8k,26000
12
+ olca-0.2.84.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
13
+ olca-0.2.84.dist-info/entry_points.txt,sha256=W2UkinpMZYsCLH54must9ahwbzCRl-rekcZ7rL5u3wA,123
14
+ olca-0.2.84.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
15
+ olca-0.2.84.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,15 +0,0 @@
1
- olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
2
- olca/fusewill_cli.py,sha256=umPt718y8_0Mx38DgNcdyScW9AM9rU5q6VGudKGS5Eg,18716
3
- olca/fusewill_utils.py,sha256=n9Pt5IisvRU632SSw-NfTfbDodTlkkr3PlGYMr3aGGw,19204
4
- olca/oiv.py,sha256=TyhbgjzE9B5woacln8AtITLv1X7iv9ZivJBdk0MyP4U,4610
5
- olca/olcacli.py,sha256=wwn4mL1kGonigI9w6UEsnFJDWQ6yONxqvogjrCj-Og4,11246
6
- olca/olcahelper.py,sha256=v16ETPboJFdJdkL1iAJ86_oAhkFo5jMFfx5oivOG8kA,4115
7
- olca/prompts.py,sha256=q7lvDZ8n_K6ea2nu3K5R2fgBgQYrCIEjh0cA9fUlMFI,3697
8
- olca/tracing.py,sha256=cEfPNZoI-PbMHFpX8bvY7OajeW4yvZBMycqwj6sRpDE,1637
9
- olca/utils.py,sha256=kDxKwD51234OvA6PIW9IfAND8DHwd8lSyOvSf4abvPE,916
10
- olca-0.2.82.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
11
- olca-0.2.82.dist-info/METADATA,sha256=xOouS6o1j2OKKWb9zMV_C_xV-2dlLt_NLiAqqJEAxBk,26000
12
- olca-0.2.82.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
13
- olca-0.2.82.dist-info/entry_points.txt,sha256=W2UkinpMZYsCLH54must9ahwbzCRl-rekcZ7rL5u3wA,123
14
- olca-0.2.82.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
15
- olca-0.2.82.dist-info/RECORD,,
File without changes