Fix script name in documentation from "tavily.py" to "tavilytool.py"

This commit is contained in:
Slipstream 2025-06-05 15:34:49 -06:00
parent f3e7727e24
commit 4e035f4151
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -9,42 +9,42 @@
- All pip dependencies are installed in the environment. (Except packages related to locally running AI, due to their large size.) - All pip dependencies are installed in the environment. (Except packages related to locally running AI, due to their large size.)
- You have the ability to directly push to the git repo over https (url already set). And you should when you finish your task and have tested it. - You have the ability to directly push to the git repo over https (url already set). And you should when you finish your task and have tested it.
- If you encounter any hard to fix errors when pushing just leave it to the user to fix them. Try fixing merge conflicts/not having work from the remote by yourself. - If you encounter any hard to fix errors when pushing just leave it to the user to fix them. Try fixing merge conflicts/not having work from the remote by yourself.
- You have a python script "tavily.py" in the project root, that you can use to search the web. - You have a python script "tavilytool.py" in the project root, that you can use to search the web.
# Tavily API Script Usage Instructions # Tavily API Script Usage Instructions
## Basic Usage ## Basic Usage
Search for information using simple queries: Search for information using simple queries:
```bash ```bash
python tavily.py "your search query" python tavilytool.py "your search query"
``` ```
## Examples ## Examples
```bash ```bash
python tavily.py "latest AI developments 2024" python tavilytool.py "latest AI developments 2024"
python tavily.py "how to make chocolate chip cookies" python tavilytool.py "how to make chocolate chip cookies"
python tavily.py "current weather in New York" python tavilytool.py "current weather in New York"
python tavily.py "best programming practices Python" python tavilytool.py "best programming practices Python"
``` ```
## Advanced Options ## Advanced Options
### Search Depth ### Search Depth
- **Basic search**: `python tavily.py "query"` (default) - **Basic search**: `python tavilytool.py "query"` (default)
- **Advanced search**: `python tavily.py "query" --depth advanced` - **Advanced search**: `python tavilytool.py "query" --depth advanced`
### Control Results ### Control Results
- **Limit results**: `python tavily.py "query" --max-results 3` - **Limit results**: `python tavilytool.py "query" --max-results 3`
- **Include images**: `python tavily.py "query" --include-images` - **Include images**: `python tavilytool.py "query" --include-images`
- **Skip AI answer**: `python tavily.py "query" --no-answer` - **Skip AI answer**: `python tavilytool.py "query" --no-answer`
### Domain Filtering ### Domain Filtering
- **Include specific domains**: `python tavily.py "query" --include-domains reddit.com stackoverflow.com` - **Include specific domains**: `python tavilytool.py "query" --include-domains reddit.com stackoverflow.com`
- **Exclude domains**: `python tavily.py "query" --exclude-domains wikipedia.org` - **Exclude domains**: `python tavilytool.py "query" --exclude-domains wikipedia.org`
### Output Format ### Output Format
- **Formatted output**: `python tavily.py "query"` (default - human readable) - **Formatted output**: `python tavilytool.py "query"` (default - human readable)
- **Raw JSON**: `python tavily.py "query" --raw` (for programmatic processing) - **Raw JSON**: `python tavilytool.py "query" --raw` (for programmatic processing)
## Output Structure ## Output Structure
The default formatted output includes: The default formatted output includes:
@ -55,13 +55,13 @@ The default formatted output includes:
## Command Combinations ## Command Combinations
```bash ```bash
# Advanced search with images, limited results # Advanced search with images, limited results
python tavily.py "machine learning tutorials" --depth advanced --include-images --max-results 3 python tavilytool.py "machine learning tutorials" --depth advanced --include-images --max-results 3
# Search specific sites only, raw output # Search specific sites only, raw output
python tavily.py "Python best practices" --include-domains github.com stackoverflow.com --raw python tavilytool.py "Python best practices" --include-domains github.com stackoverflow.com --raw
# Quick search without AI answer # Quick search without AI answer
python tavily.py "today's news" --no-answer --max-results 5 python tavilytool.py "today's news" --no-answer --max-results 5
``` ```
## Tips ## Tips