versionhq 1.1.10.9__py3-none-any.whl → 1.1.11.0__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.
versionhq/__init__.py CHANGED
@@ -18,7 +18,7 @@ from versionhq.tool.model import Tool
18
18
  from versionhq.tool.composio_tool import ComposioHandler
19
19
 
20
20
 
21
- __version__ = "1.1.10.9"
21
+ __version__ = "1.1.11.0"
22
22
  __all__ = [
23
23
  "Agent",
24
24
  "Customer",
@@ -7,4 +7,9 @@ List up agents to be called across the project.
7
7
 
8
8
  client_manager = Agent(role="Client Manager", goal="communicate with clients on the task progress", llm=DEFAULT_MODEL_NAME)
9
9
 
10
- task_evaluator = Agent(role="Task Evaluator", goal="score the output according to the given evaluation criteria.", llm=DEFAULT_MODEL_NAME)
10
+ task_evaluator = Agent(
11
+ role="Task Evaluator",
12
+ goal="score the output according to the given evaluation criteria.",
13
+ llm=DEFAULT_MODEL_NAME,
14
+ llm_config=dict(top_p=0.8, top_k=30, max_tokens=5000, temperature=0.9)
15
+ )
@@ -1,4 +1,4 @@
1
- EVALUATE="""Evaluate the accuracy and quality of the following task output. For each criterion defined below, provide a score between 0 (completely inaccurate/unacceptable) and 1 (perfectly accurate/acceptable), and suggest specific improvements to address any shortcomings.
1
+ EVALUATE="""Assess the accuracy and quality of the following task output to the task described below. Score based on the criterion (0-1, 0=worst, 1=best) and suggest improvements. Vary scores; don't assign identical values. Store criteria in the "criteria" field.
2
2
  Task: {task_description}
3
3
  Task Output: {task_output}
4
4
  Evaluation criteria: {eval_criteria}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: versionhq
3
- Version: 1.1.10.9
3
+ Version: 1.1.11.0
4
4
  Summary: LLM orchestration frameworks for model-agnostic AI agents that handle complex outbound workflows
5
5
  Author-email: Kuriko Iwai <kuriko@versi0n.io>
6
6
  License: MIT License
@@ -162,7 +162,7 @@ You can specify which formation you want them to generate, or let the agent deci
162
162
 
163
163
  task = Task(
164
164
  description="Amazing task",
165
- pydantic_custom_output=CustomOutput,
165
+ pydantic_output=CustomOutput,
166
166
  callback=dummy_func,
167
167
  callback_kwargs=dict(message="Hi! Here is the result: ")
168
168
  )
@@ -171,14 +171,17 @@ You can specify which formation you want them to generate, or let the agent deci
171
171
  print(res)
172
172
  ```
173
173
 
174
- This will return `TaskOutput` that stores a response in string, JSON dict, and Pydantic model: `CustomOutput` formats with a callback result.
174
+ This will return `TaskOutput` instance that stores a response in plane text, JSON serializable dict, and Pydantic model: `CustomOutput` formats with a callback result, tool output (if given), and evaluation results (if given).
175
175
 
176
176
  ```
177
177
  res == TaskOutput(
178
- raw="{\\"test1\\": \\"random str\\", \\"test2\\": [\\"item1\\", \\"item2\\"]}",
179
- json_dict={"test1": "random str", "test2": ["item1", "item2"]},
180
- pydantic=CustomOutput(test1="random str", test2=["item 1", "item 2"]),
181
- callback_output="Hi! Here is the result: random str, item 1, item 2",
178
+ task_id=UUID('<TASK UUID>')
179
+ raw='{\"test1\":\"random str\", \"test2\":[\"str item 1\", \"str item 2\", \"str item 3\"]}',
180
+ json_dict={'test1': 'random str', 'test2': ['str item 1', 'str item 2', 'str item 3']},
181
+ pydantic=<class '__main__.CustomOutput'>
182
+ tool_output=None,
183
+ callback_output='Hi! Here is the result: random str, str item 1, str item 2, str item 3',
184
+ evaluation=None
182
185
  )
183
186
  ```
184
187
 
@@ -404,6 +407,7 @@ Common issues and solutions:
404
407
  - API key errors: Ensure all API keys in the `.env` file are correct and up to date. Make sure to add `load_dotenv()` on the top of the python file to apply the latest environment values.
405
408
  - Database connection issues: Check if the Chroma DB is properly initialized and accessible.
406
409
  - Memory errors: If processing large contracts, you may need to increase the available memory for the Python process.
410
+ - Issues related to the Python version: Docling/Pytorch is not ready for Python 3.13 as of Jan 2025. Use Python 3.12.x as default by running `uv venv --python 3.12.8` and `uv python pin 3.12.8`.
407
411
  - Issues related to dependencies: `rm -rf uv.lock`, `uv cache clean`, `uv venv`, and run `uv pip install -r requirements.txt -v`.
408
412
  - Issues related to the AI agents or RAG system: Check the `output.log` file for detailed error messages and stack traces.
409
413
  - Issues related to `Python quit unexpectedly`: Check [this stackoverflow article](https://stackoverflow.com/questions/59888499/macos-catalina-python-quit-unexpectedly-error).
@@ -1,4 +1,4 @@
1
- versionhq/__init__.py,sha256=mdXnMgEQqa41NLNTy26pKTSk_by3Ms7FTDRFdib4i6g,951
1
+ versionhq/__init__.py,sha256=5Kfovhx6qLgreHqrvQuagE5MBMRte25ilKF_TUmqWjs,951
2
2
  versionhq/_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  versionhq/_utils/i18n.py,sha256=TwA_PnYfDLA6VqlUDPuybdV9lgi3Frh_ASsb_X8jJo8,1483
4
4
  versionhq/_utils/logger.py,sha256=U-MpeGueA6YS8Ptfy0VnU_ePsZP-8Pvkvi0tZ4s_UMg,1438
@@ -6,7 +6,7 @@ versionhq/_utils/process_config.py,sha256=jbPGXK2Kb4iyCugJ3FwRJuU0wL5Trq2x4xFQz2
6
6
  versionhq/_utils/usage_metrics.py,sha256=hhq1OCW8Z4V93vwW2O2j528EyjOlF8wlTsX5IL-7asA,1106
7
7
  versionhq/_utils/vars.py,sha256=bZ5Dx_bFKlt3hi4-NNGXqdk7B23If_WaTIju2fiTyPQ,57
8
8
  versionhq/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- versionhq/agent/default_agents.py,sha256=NQDgRIpmBCLzkUfWq0EqsrL6F3NYP7GsUPmlR8y3EJw,413
9
+ versionhq/agent/default_agents.py,sha256=Sea3xDswxxMccer1vVDhp1E5etXW3ddf2n20JTMHgqs,503
10
10
  versionhq/agent/model.py,sha256=a8mkzKR71901gnjR71dHdMit-33k9F8cF0FrIr85Fu4,22912
11
11
  versionhq/agent/parser.py,sha256=riG0dkdQCxH7uJ0AbdVdg7WvL0BXhUgJht0VtQvxJBc,4082
12
12
  versionhq/agent/rpm_controller.py,sha256=7AKIEPbWBq_ESOZCaiKVOGjfSPHd2qwg6-wbBlhqC0g,2367
@@ -46,7 +46,7 @@ versionhq/task/formatter.py,sha256=N8Kmk9vtrMtBdgJ8J7RmlKNMdZWSmV8O1bDexmCWgU0,6
46
46
  versionhq/task/log_handler.py,sha256=KJRrcNZgFSKhlNzvtYFnvtp6xukaF1s7ifX9u4zWrN8,1683
47
47
  versionhq/task/model.py,sha256=Uxs5LaGb1O9CdnhWh36sSbgdKPfDYDCi2V4BNdvAMPc,30027
48
48
  versionhq/task/structured_response.py,sha256=h5GbbkCNJ27f4AbHcriGctQLFSp4qlmq2REDEfSd8xU,4786
49
- versionhq/task/TEMPLATES/Description.py,sha256=LL-ya19O-NnBmc2HFbJ1oCUtumtAElUMJ3nSCNmU6eM,368
49
+ versionhq/task/TEMPLATES/Description.py,sha256=bChflSWGGQo9JpnO6QX6Ng9pnONiTf-zwQ3ke4xQgSQ,357
50
50
  versionhq/team/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
51
  versionhq/team/model.py,sha256=NzcRXWwP0adWL9vsnsmI-A5dOcE3199FGmGgemUB2VA,20043
52
52
  versionhq/team/team_planner.py,sha256=UyIpw7GoRQXlgLNaojoi-G8F1sYaf5hTpLcTvWjRvlA,3596
@@ -57,8 +57,8 @@ versionhq/tool/composio_tool_vars.py,sha256=FvBuEXsOQUYnN7RTFxT20kAkiEYkxWKkiVtg
57
57
  versionhq/tool/decorator.py,sha256=C4ZM7Xi2gwtEMaSeRo-geo_g_MAkY77WkSLkAuY0AyI,1205
58
58
  versionhq/tool/model.py,sha256=7ccEnje_8LuxLVeog6pL38nToArXQXk4KY7A9hfprDo,12239
59
59
  versionhq/tool/tool_handler.py,sha256=2m41K8qo5bGCCbwMFferEjT-XZ-mE9F0mDUOBkgivOI,1416
60
- versionhq-1.1.10.9.dist-info/LICENSE,sha256=7CCXuMrAjPVsUvZrsBq9DsxI2rLDUSYXR_qj4yO_ZII,1077
61
- versionhq-1.1.10.9.dist-info/METADATA,sha256=YtCtivOpUDKpkd4EKMjWDbYxfeo23OqXwD9paJEpREA,17751
62
- versionhq-1.1.10.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
63
- versionhq-1.1.10.9.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
64
- versionhq-1.1.10.9.dist-info/RECORD,,
60
+ versionhq-1.1.11.0.dist-info/LICENSE,sha256=7CCXuMrAjPVsUvZrsBq9DsxI2rLDUSYXR_qj4yO_ZII,1077
61
+ versionhq-1.1.11.0.dist-info/METADATA,sha256=FNhWPZA_dhkDdshH3KGhJToNXmAlcFtS0n-BzM19Nas,18132
62
+ versionhq-1.1.11.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
63
+ versionhq-1.1.11.0.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
64
+ versionhq-1.1.11.0.dist-info/RECORD,,