Skip to main content

A library for semantic search in local environment

Project description

Forcolate Library

Build status Docs status Version Python Version Downloads License

Explore FORcolate docs »

AI search is like a box of FORcolates. You never know what you're gonna get.

Forcolate is a versatile library designed to enhance semantic search capabilities, in particular in a setting where it is deployed locally (and not in a cloud environment). It offers a suite of tools that facilitate efficient and intelligent search functionalities, making it easier to find relevant information within large datasets.

Features

  • Semantic Search Utilities wrapper: Utilize advanced semantic search algorithms to retrieve relevant information based on context and meaning, rather than simple keyword matching.
  • Outlook Email Search: Integrate semantic search with Microsoft Outlook using the Win32 API to search through emails intelligently.

Installation

To install the Forcolate library, use the following command:

pip install forcolate

Usage

Semantic Search for Outlook Emails

The Forcolate library includes a tool for performing semantic search on Outlook emails using the Win32 API. Below is an example of how to use this tool:

from forcolate import search_outlook_emails

save_directory = "path/to/save/directory"
query = "your search query"

file_paths = search_outlook_emails(save_directory, query)
print(file_paths)

Semantic Search for Documents

This tool converts documents to markdown format using the docling library and uses a semantic search model to identify and save relevant documents based on a query. Below is an example of how to use this tool:

from forcolate import search_folder

source_directory = "path/to/source/directory"
save_directory = "path/to/save/directory"
query = "your search query"

file_paths = search_folder(source_directory, save_directory, query)
print(file_paths)

Contributing

Contributions to the Forcolate library are welcome! If you have ideas for new features, improvements, or bug fixes, please open an issue or submit a pull request.

Acknowledgement

This project received funding from the French ”IA Cluster” program within the Artificial and Natural Intelligence Toulouse Institute (ANITI) and from the "France 2030" program within IRT Saint Exupery. The authors gratefully acknowledge the support of the FOR projects.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

forcolate-0.1.14.tar.gz (123.5 kB view details)

Uploaded Source

Built Distribution

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

forcolate-0.1.14-py3-none-any.whl (126.9 kB view details)

Uploaded Python 3

File details

Details for the file forcolate-0.1.14.tar.gz.

File metadata

  • Download URL: forcolate-0.1.14.tar.gz
  • Upload date:
  • Size: 123.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for forcolate-0.1.14.tar.gz
Algorithm Hash digest
SHA256 fbb7c261e7e2ee070605943e87e123d3b5979d676214d874b07a04b21cc4b0e5
MD5 ab0dde2162fed7bcf9088d114102a20b
BLAKE2b-256 1a2e20a037b6c5cd52a13ea8f2163b12437415f1c78e1a12600ea953e77e80c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for forcolate-0.1.14.tar.gz:

Publisher: publish.yml on FOR-sight-ai/FORcolate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file forcolate-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: forcolate-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 126.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for forcolate-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 b35fcd25bf996efa24cedc526bf2222eb00dbeaea73bd29f6ddf3a4070a5193d
MD5 d2e3429419a1381f9dac5c711e3db142
BLAKE2b-256 34bb40d23832cfc20e7f019e9fa1cef041913bcac2ae0a007063652fffc35e08

See more details on using hashes here.

Provenance

The following attestation bundles were made for forcolate-0.1.14-py3-none-any.whl:

Publisher: publish.yml on FOR-sight-ai/FORcolate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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