ostruct-cli 0.8.0__py3-none-any.whl → 0.8.1__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.
ostruct/cli/cli.py CHANGED
@@ -35,7 +35,7 @@ def create_cli_group() -> click.Group:
35
35
 
36
36
  ostruct transforms unstructured inputs into structured JSON using OpenAI APIs,
37
37
  Jinja2 templates, and powerful tool integrations including Code Interpreter,
38
- File Search, and MCP servers.
38
+ File Search, Web Search, and MCP servers.
39
39
 
40
40
  🚀 QUICK START:
41
41
  ostruct run template.j2 schema.json -V name=value
@@ -28,6 +28,7 @@ def quick_reference() -> None:
28
28
  -J config='{"key":"value"}' JSON structured data
29
29
 
30
30
  🔌 TOOLS:
31
+ --web-search 🌐 Real-time web search for current info
31
32
  --mcp-server label@https://server.com/sse MCP server integration
32
33
  --timeout 7200 2-hour timeout for long operations
33
34
 
@@ -44,6 +45,9 @@ def quick_reference() -> None:
44
45
  # Multi-tool workflow
45
46
  ostruct run workflow.j2 schema.json -fc raw_data.csv -fs knowledge/ -ft config.json
46
47
 
48
+ # Current information research
49
+ ostruct run research.j2 schema.json --web-search -V topic="latest AI developments"
50
+
47
51
  📖 Full help: ostruct run --help
48
52
  📖 Documentation: https://ostruct.readthedocs.io
49
53
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ostruct-cli
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: CLI for OpenAI Structured Output with Multi-Tool Integration
5
5
  Author: Yaniv Golan
6
6
  Author-email: yaniv@golan.name
@@ -87,7 +87,7 @@ Description-Content-Type: text/markdown
87
87
 
88
88
  # ostruct-cli
89
89
 
90
- ostruct processes unstructured data (text files, code, CSVs, etc.), input variables, and dynamic prompt templates to produce structured JSON output defined by a JSON schema. With enhanced multi-tool integration, ostruct now supports Code Interpreter for data analysis, File Search for document retrieval, and MCP (Model Context Protocol) servers for extended capabilities.
90
+ ostruct processes unstructured data (text files, code, CSVs, etc.), input variables, and dynamic prompt templates to produce structured JSON output defined by a JSON schema. With enhanced multi-tool integration, ostruct now supports Code Interpreter for data analysis, File Search for document retrieval, Web Search for real-time information access, and MCP (Model Context Protocol) servers for extended capabilities.
91
91
 
92
92
  <div align="center">
93
93
 
@@ -195,6 +195,7 @@ Break down words into their components, showing their origins, meanings, and hie
195
195
 
196
196
  - **Code Interpreter**: Upload and analyze data files, execute Python code, generate visualizations
197
197
  - **File Search**: Vector-based document search and retrieval from uploaded files
198
+ - **Web Search**: Real-time information retrieval and current data access via OpenAI's web search tool
198
199
  - **MCP Servers**: Connect to Model Context Protocol servers for extended functionality
199
200
  - **Explicit File Routing**: Route different files to specific tools for optimized processing
200
201
 
@@ -281,6 +282,7 @@ ostruct now includes powerful multi-tool integration while maintaining **full ba
281
282
 
282
283
  - **Code Interpreter** for data analysis and visualization
283
284
  - **File Search** for document retrieval
285
+ - **Web Search** for real-time information access
284
286
  - **MCP Servers** for extended functionality
285
287
  - **Explicit File Routing** for optimized processing
286
288
 
@@ -299,6 +301,9 @@ ostruct run analysis.j2 schema.json -fc data.csv
299
301
  # File Search (document retrieval)
300
302
  ostruct run search.j2 schema.json -fs documentation.pdf
301
303
 
304
+ # Web Search (real-time information)
305
+ ostruct run research.j2 schema.json --web-search -V topic="latest AI developments"
306
+
302
307
  # Multiple tools with one file
303
308
  ostruct run template.j2 schema.json --file-for code-interpreter shared.json --file-for file-search shared.json
304
309
  ```
@@ -2,12 +2,12 @@ ostruct/__init__.py,sha256=X6zo6V7ZNMv731Wi388aTVQngD1410ExGwGx4J6lpyo,187
2
2
  ostruct/cli/__init__.py,sha256=e-DtWRviCr3fIAJH4cB4UAvles3-rqnhJaTOlBn9TKs,871
3
3
  ostruct/cli/base_errors.py,sha256=o-877bJJA8yJWISRPy0KyL6wDu1-_avddmQIfVePuFM,5989
4
4
  ostruct/cli/cache_manager.py,sha256=ej3KrRfkKKZ_lEp2JswjbJ5bW2ncsvna9NeJu81cqqs,5192
5
- ostruct/cli/cli.py,sha256=yv-0O3vLrEgWFyu8T3lzAEzpH6GDIEeU0LT4S9CqtOQ,4086
5
+ ostruct/cli/cli.py,sha256=ZUkQ-iwk4KCKeetPMlvSDwxfXIe4h1-yP80SfJgvi_o,4098
6
6
  ostruct/cli/click_options.py,sha256=f2a6XTidy-RJgL64WAgTqRYpMPokY0O8Bb6aQgwMOtk,28298
7
7
  ostruct/cli/code_interpreter.py,sha256=sEq-zi0CfotRqEseA9pWTm-UU1fZTH_06WGvWPNwct8,7786
8
8
  ostruct/cli/commands/__init__.py,sha256=3NHz-WZ9XqrnWWMksoV2MpYpHnjA-EO9lsrBOYeHcjY,723
9
9
  ostruct/cli/commands/list_models.py,sha256=yeuQpUGAmRr4uOHS7teuVHkC9dkqN0yKDOEw_n-ehi0,4662
10
- ostruct/cli/commands/quick_ref.py,sha256=DLKDHjhG1AOLRL68fOiRcnSLMlu-HdRBpLc91T_vuTk,1798
10
+ ostruct/cli/commands/quick_ref.py,sha256=zpD7kI3sfrcc9CiRkzWdASTNX5jAk3HFB7MilzlCsag,2004
11
11
  ostruct/cli/commands/run.py,sha256=1M5KYhXPLJLFVbfGJHRp88kO25CSN6TP1A0cVex1-7A,4370
12
12
  ostruct/cli/commands/update_registry.py,sha256=7DQrPlCJScPVgE2HbFAM7UMap-EdYu58AQWfpI-H7Gw,2483
13
13
  ostruct/cli/config.py,sha256=keX5mUiyZ9_CrVHZFpxr7loBAetORRW-ZjNUoQFa_k8,9030
@@ -62,8 +62,8 @@ ostruct/cli/unattended_operation.py,sha256=kI95SSVJC_taxORXQYrce_qLEnuKc6edwn9tM
62
62
  ostruct/cli/utils.py,sha256=uY7c0NaINHWfnl77FcPE3TmYUXv3RqEeUTjrCMDij9A,922
63
63
  ostruct/cli/validators.py,sha256=lbxAUUVS5TPJ7HdYZ5yB7gUjJqfcClZCuh0oktoq0E0,15291
64
64
  ostruct/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
- ostruct_cli-0.8.0.dist-info/LICENSE,sha256=DmGAkaYzhrdzTB9Y2Rvfzd3mJiF9ZrTOhxN8t6wrfHA,1098
66
- ostruct_cli-0.8.0.dist-info/METADATA,sha256=cMBZoX3RLP8GYAa7rFYkPuub43jMFeQpFPBtaga4iDI,21657
67
- ostruct_cli-0.8.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
68
- ostruct_cli-0.8.0.dist-info/entry_points.txt,sha256=NFq9IuqHVTem0j9zKjV8C1si_zGcP1RL6Wbvt9fUDXw,48
69
- ostruct_cli-0.8.0.dist-info/RECORD,,
65
+ ostruct_cli-0.8.1.dist-info/LICENSE,sha256=DmGAkaYzhrdzTB9Y2Rvfzd3mJiF9ZrTOhxN8t6wrfHA,1098
66
+ ostruct_cli-0.8.1.dist-info/METADATA,sha256=94zlvKstko1daxbfyacOpbfhfYBYaKgaPCFnozT2_Cs,21976
67
+ ostruct_cli-0.8.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
68
+ ostruct_cli-0.8.1.dist-info/entry_points.txt,sha256=NFq9IuqHVTem0j9zKjV8C1si_zGcP1RL6Wbvt9fUDXw,48
69
+ ostruct_cli-0.8.1.dist-info/RECORD,,