mirror of
https://github.com/karust/openserp.git
synced 2026-08-16 21:36:06 +08:00
Add OpenSERP SDK usage examples
This commit is contained in:
11
examples/ai/python-agent-tool/README.md
Normal file
11
examples/ai/python-agent-tool/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Agent search tool (Python)
|
||||
|
||||
A `web_search(query)` function shaped to register as a tool for an LLM agent.
|
||||
It returns compact JSON-serializable results the model can read and cite.
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
python main.py
|
||||
```
|
||||
|
||||
Import `web_search` from [main.py](main.py) and register it with your agent framework.
|
||||
Reference in New Issue
Block a user