Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add browser_tool example to fetch webpages #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

csquared
Copy link

Created a simple BrowserTool that fetches a webpage and uses html2text to convert the page to markdown for Claude.

Example:

❯ python -m tool_use_package.browser_example

Great, based on the webpage content, here is a summary of the Python documentation site:

The Python documentation site (docs.python.org) is the official documentation for the Python programming language. It contains documentation for the latest stable versions of Python (currently 3.12, 3.11, and previous versions).

Key sections of the documentation include:

- What's New: Overview of changes in each Python version
- Tutorial: Getting started guide for Python
- Library Reference: Detailed documentation of Python's standard library modules
- Language Reference: Describes Python's syntax and language elements
- Python Setup and Usage: How to use Python on different platforms
- Python HOWTOs: In-depth documents on specific topics
- Installing Modules: How to install packages from the Python Package Index
- Distributing Modules: How to publish modules for others to install
- Extending and Embedding: Guide for C/C++ programmers to integrate Python
- Python/C API: Reference for the C API to interface with Python
- FAQs: Frequently asked questions

It also contains helpful indices and tables:

- Global Module Index: Quick access to documentation on all modules
- General Index: Index of all functions, classes, and terms
- Glossary: Explains the most important Python terms
- Search: To search across the documentation
- Table of Contents: Listing of all sections and subsections

Additionally, it links to information on reporting bugs, how to contribute to the documentation, downloading the documentation, copyright, licensing, and more.

The site provides documentation for both the latest versions of Python 3.x and also maintains legacy documentation for older versions. It serves as the central resource for Python programmers to find authoritative information on the language and standard libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant