File size: 1,378 Bytes
2bc1f33
 
 
 
 
 
 
 
 
 
 
dcc91e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
title: Intelligent Search Engine
emoji: πŸ”
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: "4.14.0"
app_file: app.py
pinned: false
---

# πŸ” Intelligent Search Engine

An AI-powered search engine that provides intelligent summaries and insights from web content.

## Features

- 🌐 Web search powered by DuckDuckGo
- πŸ€– AI-powered content summarization
- πŸ“Š Semantic search capabilities
- πŸ“± Clean, responsive UI

## Technical Details

### Core Components

1. **Search Engine (`search_engine.py`)**
   - DuckDuckGo integration for web search
   - Content processing and summarization
   - URL validation and metadata extraction

2. **Web Interface (`app.py`)**
   - Gradio-based UI
   - Error handling
   - Result formatting

### Models

- Summarization: facebook/bart-base
- Embeddings: sentence-transformers/all-MiniLM-L6-v2

### Dependencies

- Python 3.10
- Gradio 4.14.0
- Transformers
- DuckDuckGo Search
- BeautifulSoup4
- Langchain
- Sentence Transformers

## Usage

1. Enter your search query in the text box
2. Adjust the number of results using the slider
3. Click "Submit" to see the results

## Example Queries

- "Latest developments in artificial intelligence"
- "Climate change solutions"
- "Space exploration news"

## Deployment

This project is deployed on Hugging Face Spaces, optimized for CPU environments.

## License

Apache 2.0