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.13.tar.gz (122.8 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.13-py3-none-any.whl (125.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: forcolate-0.1.13.tar.gz
  • Upload date:
  • Size: 122.8 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.13.tar.gz
Algorithm Hash digest
SHA256 64141fee637375decdb2a81aa6d78dbdf9602076d22d22cd6a47675810aec436
MD5 10a6acf0ce86ef0d49e4640cdc6354e2
BLAKE2b-256 3014bebd5622cb1f29ef22dd3308529c466143a2783f03217bfc79bdafbb12a2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: forcolate-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 125.3 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 ff8c6e1c7fcd844d99d139aff2d6a22f8369c7e76dbb01593d27ce77de63b4c3
MD5 0f90b439c259f9a6047f571c09436a9f
BLAKE2b-256 676c98411098c30cb3a16f48aec9e94beb27e396ff03a45a6bc52751ba840a58

See more details on using hashes here.

Provenance

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