Skip to main content

search the future [test version]

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.

Flask==3.0.0
requests==2.31.0

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_search_api-0.0.8.2.9.tar.gz (25.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ai_search_api-0.0.8.2.9.0-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

ai_search_api-0.0.8.2.9-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

File details

Details for the file ai_search_api-0.0.8.2.9.tar.gz.

File metadata

  • Download URL: ai_search_api-0.0.8.2.9.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ai_search_api-0.0.8.2.9.tar.gz
Algorithm Hash digest
SHA256 0997f9071ab91611b49d2303d737f629dfcef7e2d775e1806793770784b105b1
MD5 092c961fcd55d792bf5db16dc4c1caf1
BLAKE2b-256 d60a2ec4ab9dea81d8c413b62dc88e8c80d063ad5b81c0a7a5b5ac55f1af5d31

See more details on using hashes here.

File details

Details for the file ai_search_api-0.0.8.2.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_search_api-0.0.8.2.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a222193b433a406392d10f815d9a7a86ab4c19c52126071a92c8327e3da129a2
MD5 3f7e75ed8443238c89ad34d0d20caab3
BLAKE2b-256 eea080078955e978bcc344582724964f3c10c3a40df53486392536d672afb1b9

See more details on using hashes here.

File details

Details for the file ai_search_api-0.0.8.2.9-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_search_api-0.0.8.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 498fbede4ea4ccfa0a15efb7c8815631fa50bfd727730ec9349b1a6561c7a089
MD5 7c8909f6edaa321298a5499952aef95c
BLAKE2b-256 d9fd4436fff7f1c3179083c4388b1a420d28842309cc20fb1f90c6d2607278f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page