search the future
Project description
AI-Search
What is it?
AI-Search is a powerful tool that allows you to perform intelligent searches on local files and services within the books folder. It uses artificial intelligence to select files and answers with greater ease and precision. It can also better understand your queries with a rich database of information.
What can it do?
search with artificial intelligence all your files or services inside the books folder.
It is able to understand and select files and responses much more easily and precisely thanks to its new database full of information to use at any time.
By writing the URL of a web page you will see the text contained in it.
New API feature. Every data of our AI is loaded from an API in seconds, it also works offline.
How to run the AI?
Running our application is very simple, you just need to run the main.py file or write the following code in the main folder of the project
Using the PyPi library
Install the library
pip3 install ai-search-api
Import the library in your code
import ai_search_api as ai
Update the library
ai.update()
Ask a question
while True:
question = input("you: ")
print("ai-search: " + str(ai.request(question)))
Using the repository
First import these two libraries that are needed to run the code
import update
import ai_search.main as ai
Now write this code that allows you to send questions and receive information from Ai-search
#infinite questions
while True:
# set the request
ai.req = input('ai-search: ')
ai.run()
results = ai.result
# print the results
print('results: ')
for result in results:
print(result)
print()
Code Structure
main.py
This is the entry point for the application. It handles user input and displays the results from the AI-powered search.
ai_search/main.py This module contains the core logic for the AI engine. It processes the search queries and retrieves the results based on local files or web scraping.
update.py (Optional) If the project includes an update mechanism, this file will manage it. If not needed, you can ignore it.
Contributing
We welcome contributions to improve AI-Search! If you'd like to help, you can:
Fork the repository
Create a new branch for your changes
Submit a pull request with a description of your modifications
Please make sure to follow the project guidelines and write tests for any new features you add.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Installation requirements
Make sure you have Python 3.x installed on your system.
Clone the repository
Start by cloning the project repository:
git clone https://gitlab.com/neopad/ai-search.git
cd ai-search
AI-Search
What is it?
AI-Search is a powerful tool that allows you to perform intelligent searches on local files and services within the books folder. It uses artificial intelligence to select files and answers with greater ease and precision. It can also better understand your queries with a rich database of information, enabling a seamless and efficient search experience.
What can it do?
-
Intelligent Search: AI-Search can search and analyze all your files or services inside the books folder. Thanks to a powerful AI engine, it selects files and responses with greater accuracy and context-awareness.
-
Web Scraping: By entering the URL of a web page, AI-Search extracts and displays the text contained in it. This makes it a versatile tool for real-time content retrieval and analysis.
-
New API Feature: AI data is fetched through a powerful API, allowing fast results in seconds. The system works both online and offline, so you can continue using it even without an internet connection.
How to Run the AI?
Running AI-Search is simple. Just follow these steps:
Step 1: Import Required Libraries
First, import the necessary libraries to run the code:
import update
import ai_search.main as ai
Step 2: Run the Search Loop
Now, use the following code to send questions to AI-Search and receive answers. This code will run an infinite loop where you can continue asking questions:
# Infinite loop for continuous questioning
while True:
# Set the request
ai.req = input('ai-search: ')
ai.run() # Run the AI search
results = ai.result # Capture the results
# Print the results
print('Results: ')
for result in results:
print(result) # Print each result
print() # Add space between results
Clone the Repository
Start by cloning the project repository to your local machine:
git clone https://gitlab.com/neopad/ai-search.git
cd ai-search
Install Dependencies
Ensure that all necessary Python dependencies are installed. If a requirements.txt file is provided, you can install the dependencies using pip:
pip install -r requirements.txt
By @neopadAI follow us on Twitter(X) @neopadai__
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_search_api-0.0.8.tar.gz.
File metadata
- Download URL: ai_search_api-0.0.8.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c78cc5b5ca8be1ff68fe6edc17077cfda78eabce70dbffc842e2c6a3b73ff2b4
|
|
| MD5 |
9e9776ac1201e40545d7cd1fe95df709
|
|
| BLAKE2b-256 |
62899d06557b34a01136c60e37666883747c219b28f8ab49c22d531cc661f540
|
File details
Details for the file ai_search_api-0.0.8-py3-none-any.whl.
File metadata
- Download URL: ai_search_api-0.0.8-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
435b897a677865ec215fd9d467604feea4adfdb2f09e0c47d5e550064f7b55a1
|
|
| MD5 |
0e92d7fb2c0f11e4614bed4a8e8d92a1
|
|
| BLAKE2b-256 |
4f6b103b8ce89491644da359e413049f60caefc0c8f704ba5179a554cea8d53e
|