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.11.tar.gz (121.2 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.11-py3-none-any.whl (123.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: forcolate-0.1.11.tar.gz
  • Upload date:
  • Size: 121.2 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.11.tar.gz
Algorithm Hash digest
SHA256 d187edbde028563e4d30fda433fe51a577e726573def9447b47b77277c062d7b
MD5 df7d64f364945ee9785c7311e1c10f6f
BLAKE2b-256 3825cf33dbc3125eade9d175abe65266575956fcb91ca8fe7473d0a4a8df207b

See more details on using hashes here.

Provenance

The following attestation bundles were made for forcolate-0.1.11.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.11-py3-none-any.whl.

File metadata

  • Download URL: forcolate-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 123.1 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 7b89fc5ce6fddba8bf7be30027d9f1cafaeb752d71f0d56db4b408ebcaac22f8
MD5 07a710e0ebeeb3647a3a018f63e99348
BLAKE2b-256 5805b5009aefbee5394ad0943067c4fe3a8a7a0e5d0d9104cfebab9d54c09dab

See more details on using hashes here.

Provenance

The following attestation bundles were made for forcolate-0.1.11-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