AI Research Assistant
An automated research tool that uses web scraping, AI, and natural language processing to gather, analyze, and synthesize information on specified topics.
Features
- Automated web searching and content extraction
- AI-powered content analysis and summarization
- Duplicate content detection and removal
- Progress tracking and research history
- Customizable research parameters
- Structured output in various formats
- File-based research organization
Requirements
- Python 3.x
- OpenAI API key
- Internet connection
Dependencies
openai
googlesearch-python
requests
beautifulsoup4
datetime
Installation
- Clone the repository
- Install required packages:
pip install openai googlesearch-python requests beautifulsoup4
- Set up your API key
Usage
researchBot = ResearchSession()
researchBot.apiKey = 'your-api-key'
researchBot.topic = 'Your Research Topic'
researchBot.numSources = 3 # Number of desired sources
researchBot.outputFormat = 'formal essay' # Or other format
researchBot.startResearch()
File Structure
The program creates a research folder with timestamped subfolders containing:
links.txt: List of discovered URLshistory.txt: Research session historyextracted_data.txt: Processed content from sourcesfinal_research.txt: Final compiled research output
Key Methods
webSearch(): Performs Google searchesreadWebpage(): Extracts content from URLsgetAIResponse(): Interfaces with AI for analysiscleanLinksFileForDuplicates(): Removes duplicate sourcescleanExtractedDataFileForDuplicateData(): Removes redundant contentfinalize(): Generates final research document
Research Process
- Conducts web searches for relevant sources
- Extracts and processes content from sources
- AI analyzes and summarizes information
- Removes duplicates and organizes data
- Continues until research criteria are met
- Generates final formatted document
Notes
- Requires valid API key for AI services
- Research quality depends on source availability
- Internet connectivity required throughout process
- Output format can be customized
Metadata
Release files for GPTResearch 5.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gptresearch-5.0.3.tar.gz | 18.4 kB | Without provenance | Details for gptresearch-5.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gptresearch-5.0.3-py3-none-any.whl | Python 3 | none | any | Details for gptresearch-5.0.3-py3-none-any.whl |
Total release size: 37.6 kB
Release files / gptresearch-5.0.3.tar.gz
| Download URL | gptresearch-5.0.3.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4719a0f976b31b351196a7fb62adaf4e2769341d7cc66ae0450687601531178
|
|
BLAKE2b-256 checksum How to use checksums |
038418a8ff13bc8acecf982b30bf8a4c8818646a58a142f6b25a3de6a81b44e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.9
|
Release files / gptresearch-5.0.3-py3-none-any.whl
| Download URL | gptresearch-5.0.3-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e930696f663d9beb3d9e70279e8f37d9b7f264d1a2a6aa9ea884b5ac101dbb8
|
|
BLAKE2b-256 checksum How to use checksums |
9bcd27ec3087ae6f9014900d12385f2eb976a1348dc92b61863ec0620e621ba5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.9
|
Security for GPTResearch 5.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.