quantalogic 0.2.7__py3-none-any.whl → 0.2.8__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.
- quantalogic/prompts.py +4 -3
- quantalogic/version.py +1 -1
- {quantalogic-0.2.7.dist-info → quantalogic-0.2.8.dist-info}/METADATA +28 -64
- {quantalogic-0.2.7.dist-info → quantalogic-0.2.8.dist-info}/RECORD +7 -7
- {quantalogic-0.2.7.dist-info → quantalogic-0.2.8.dist-info}/LICENSE +0 -0
- {quantalogic-0.2.7.dist-info → quantalogic-0.2.8.dist-info}/WHEEL +0 -0
- {quantalogic-0.2.7.dist-info → quantalogic-0.2.8.dist-info}/entry_points.txt +0 -0
quantalogic/prompts.py
CHANGED
@@ -14,17 +14,18 @@ Tasks will be presented within XML tags:
|
|
14
14
|
### Response Protocol
|
15
15
|
Every response must contain exactly two XML blocks:
|
16
16
|
|
17
|
-
Be very concise and precise in the <thinking> block
|
17
|
+
Be very concise and very precise in the <thinking> block
|
18
18
|
|
19
19
|
1. Analysis Block:
|
20
20
|
```xml
|
21
21
|
<thinking>
|
22
22
|
<task_analysis_if_no_history>
|
23
23
|
Only if no conversation history:
|
24
|
-
*
|
24
|
+
* Rewrite the <task> and its context with your own words in detailed, clear, and specific manner.
|
25
25
|
* If not previously defined, clarify detailed criteria for task completion.
|
26
26
|
* Identify key components, constraints, and potential challenges.
|
27
|
-
* Break
|
27
|
+
* Decompose into Sub-Tasks: Break the <task> down into smaller, manageable sub-tasks if necessary.
|
28
|
+
* Each sub-task should have a clear objective, specific deliverables, and be sequenced logically to facilitate step-by-step progress tracking.
|
28
29
|
</task_analysis_if_no_history>
|
29
30
|
<success_criteria_if_no_history>
|
30
31
|
If no conversation history:
|
quantalogic/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: quantalogic
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.8
|
4
4
|
Summary: QuantaLogic ReAct Agents
|
5
5
|
Author: Raphaël MANSUY
|
6
6
|
Author-email: raphael.mansuy@gmail.com
|
@@ -117,15 +117,23 @@ pipx install quantalogic
|
|
117
117
|
The QuantaLogic CLI provides powerful command-line capabilities:
|
118
118
|
|
119
119
|
```bash
|
120
|
-
quantalogic [OPTIONS] COMMAND [ARGS]...
|
121
|
-
|
120
|
+
Usage: quantalogic [OPTIONS] COMMAND [ARGS]...
|
121
|
+
|
122
|
+
QuantaLogic AI Assistant - A powerful AI tool for various tasks.
|
122
123
|
|
123
|
-
|
124
|
-
--
|
125
|
-
--
|
126
|
-
|
127
|
-
--
|
128
|
-
--
|
124
|
+
Options:
|
125
|
+
--version Show version information.
|
126
|
+
--model-name TEXT Specify the model to use (litellm format,
|
127
|
+
e.g. "openrouter/deepseek-chat").
|
128
|
+
--log [info|debug|warning] Set logging level (info/debug/warning).
|
129
|
+
--verbose Enable verbose output.
|
130
|
+
--mode [code|basic|interpreter|full|code-basic]
|
131
|
+
Agent mode (code/search/full).
|
132
|
+
--help Show this message and exit.
|
133
|
+
|
134
|
+
Commands:
|
135
|
+
task Execute a task with the QuantaLogic AI Assistant.
|
136
|
+
```
|
129
137
|
|
130
138
|
### Commands
|
131
139
|
task Execute a task with the QuantaLogic AI Assistant
|
@@ -140,33 +148,25 @@ task Execute a task with the QuantaLogic AI Assistant
|
|
140
148
|
- code-basic: Coding agent with basic reasoning
|
141
149
|
|
142
150
|
#### Task Execution
|
151
|
+
|
143
152
|
Tasks can be provided:
|
144
|
-
|
153
|
+
|
154
|
+
1. Directly via `task` parameter
|
145
155
|
2. Through a file using --file parameter
|
146
156
|
3. Interactively via standard input
|
147
157
|
|
148
|
-
#### Error Handling
|
149
|
-
The CLI provides comprehensive error handling:
|
150
|
-
- File not found errors
|
151
|
-
- Permission errors
|
152
|
-
- Model configuration errors
|
153
|
-
- Task validation errors
|
154
158
|
|
155
159
|
#### Examples
|
156
160
|
|
157
|
-
Basic task execution:
|
158
|
-
```bash
|
159
|
-
quantalogic --task "Write a Python function to calculate Fibonacci numbers"
|
160
|
-
```
|
161
161
|
|
162
162
|
Using a task file:
|
163
163
|
```bash
|
164
|
-
quantalogic --file tasks/example.md --verbose
|
164
|
+
quantalogic task --file tasks/example.md --verbose
|
165
165
|
```
|
166
166
|
|
167
167
|
Selecting agent mode:
|
168
168
|
```bash
|
169
|
-
quantalogic --mode interpreter
|
169
|
+
quantalogic --mode interpreter task "Explain quantum computing"
|
170
170
|
```
|
171
171
|
|
172
172
|
Interactive mode:
|
@@ -174,22 +174,7 @@ Interactive mode:
|
|
174
174
|
quantalogic
|
175
175
|
```
|
176
176
|
|
177
|
-
###
|
178
|
-
|
179
|
-
Basic task execution:
|
180
|
-
```bash
|
181
|
-
quantalogic --task "Write a Python function to calculate Fibonacci numbers"
|
182
|
-
```
|
183
|
-
|
184
|
-
Using a task file:
|
185
|
-
```bash
|
186
|
-
quantalogic --file tasks/example.md --verbose
|
187
|
-
```
|
188
|
-
|
189
|
-
Selecting agent mode:
|
190
|
-
```bash
|
191
|
-
quantalogic --mode interpreter --task "Explain quantum computing"
|
192
|
-
```
|
177
|
+
### Using QuantaLogic With code
|
193
178
|
|
194
179
|
```python
|
195
180
|
from quantalogic import Agent
|
@@ -223,32 +208,6 @@ result = agent.solve_task("Create a Python function that calculates the Fibonacc
|
|
223
208
|
print(result)
|
224
209
|
```
|
225
210
|
|
226
|
-
### Command Line Interface
|
227
|
-
|
228
|
-
```bash
|
229
|
-
# Simple task execution
|
230
|
-
quantalogic --task "Write a FastAPI endpoint that handles file uploads"
|
231
|
-
```
|
232
|
-
|
233
|
-
|
234
|
-
`instruction.md`
|
235
|
-
|
236
|
-
```md
|
237
|
-
Write a poem
|
238
|
-
Translate the poem in English
|
239
|
-
Choose 2 French Authors
|
240
|
-
And then rewrite the translation with the style of each author
|
241
|
-
```
|
242
|
-
|
243
|
-
`
|
244
|
-
```bash
|
245
|
-
# Advanced usage with options
|
246
|
-
quantalogic \
|
247
|
-
--model openrouter/deepseek-chat \
|
248
|
-
--execute-file instruction.md \
|
249
|
-
--verbose
|
250
|
-
```
|
251
|
-
|
252
211
|
## 📖 Examples
|
253
212
|
|
254
213
|
Here are some practical examples to help you get started:
|
@@ -1048,3 +1007,8 @@ Copyright 2024 QuantaLogic Contributors
|
|
1048
1007
|
|
1049
1008
|
Licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for details.
|
1050
1009
|
|
1010
|
+
## Project Growth
|
1011
|
+
[](https://star-history.com/#quantalogic/quantalogic&Date)
|
1012
|
+
|
1013
|
+
Initiated with ❤️ by Raphaël MANSUY. Founder of [Quantalogic](https://www.quantalogic.app).
|
1014
|
+
|
@@ -9,7 +9,7 @@ quantalogic/main.py,sha256=_oLhXNTDSH7Zfc1__jPgOvqZGpYH5VSjamdLwZ4xqDM,8698
|
|
9
9
|
quantalogic/memory.py,sha256=zbtRuM05jaS2lJll-92dt5JfYVLERnF_m_9xqp2x-k0,6304
|
10
10
|
quantalogic/model_names.py,sha256=UZlz25zG9B2dpfwdw_e1Gw5qFsKQ7iME9FJh9Ts4u6s,938
|
11
11
|
quantalogic/print_event.py,sha256=-4qZmFI2BTkXuGE9DoKm6Vs-GzK1F9WJGt9GqpRQlQQ,2175
|
12
|
-
quantalogic/prompts.py,sha256=
|
12
|
+
quantalogic/prompts.py,sha256=GWVWnwFBxcVtOPvm1rUr1VnWY0OVqaBwVU_pMNunH2k,3609
|
13
13
|
quantalogic/server/__init__.py,sha256=8sz_PYAUCrkM6JM5EAUeIzNM4NPW6j6UT72JVkc21WQ,91
|
14
14
|
quantalogic/server/agent_server.py,sha256=GmglYf-LeVQQOdikMFDvPq1R0wKt6wIBpufW8XzP-iE,22489
|
15
15
|
quantalogic/server/models.py,sha256=nVUGWElOsUw8QnRCGJylk25wCew_5gohe6nldYighUA,1322
|
@@ -59,11 +59,11 @@ quantalogic/utils/get_quantalogic_rules_content.py,sha256=fnEFTyClXzpI0MLaM-gB9R
|
|
59
59
|
quantalogic/utils/git_ls.py,sha256=_aXg2TwqYv9CoOrhQ1gqHCqu1j8wOVigQNWbGncSDlM,4361
|
60
60
|
quantalogic/utils/read_file.py,sha256=tSRVHk8dIP4nNLL89v5kRki4hOTjVyjbmuEb2zwvwCY,2077
|
61
61
|
quantalogic/utils/read_http_text_content.py,sha256=1nRLQ9DHP_fKrm0rIEJBF0ROmB78e4lct2hUzD2PAUk,4408
|
62
|
-
quantalogic/version.py,sha256=
|
62
|
+
quantalogic/version.py,sha256=En2YsrG-VTf0ISc2bW9hm7HFnvQTMuxJpfpAaapjJDI,64
|
63
63
|
quantalogic/xml_parser.py,sha256=cTRorr5sVfkIzH72M0C-GQ9ROGPiz2FTT66U9ndjzhE,9538
|
64
64
|
quantalogic/xml_tool_parser.py,sha256=lsVzClZBrZan7wjCuCKnGHWzksXI3VMy_vWthxu2_bo,3738
|
65
|
-
quantalogic-0.2.
|
66
|
-
quantalogic-0.2.
|
67
|
-
quantalogic-0.2.
|
68
|
-
quantalogic-0.2.
|
69
|
-
quantalogic-0.2.
|
65
|
+
quantalogic-0.2.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
66
|
+
quantalogic-0.2.8.dist-info/METADATA,sha256=XISo9oYxS-YXKmE7Prszx8Y_b4Oc36FYNXKAzhILsE8,39180
|
67
|
+
quantalogic-0.2.8.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
68
|
+
quantalogic-0.2.8.dist-info/entry_points.txt,sha256=wgSq5SRU98yvlRHGEZD1Xn7sS5CSjH2RfUtTa6Qy28Q,52
|
69
|
+
quantalogic-0.2.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|