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.12.tar.gz (121.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.12-py3-none-any.whl (123.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: forcolate-0.1.12.tar.gz
  • Upload date:
  • Size: 121.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.12.tar.gz
Algorithm Hash digest
SHA256 6ef915c8ec440b403556a2a293957425798d22a25d8d2fbbb3ee881fee56ea37
MD5 29ad53dfb695e13022e0dec7fcea43f1
BLAKE2b-256 b9bb2014d35d045766b923777b2a4ba3013d17201190e694b1cb3f4943ab11f2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: forcolate-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 123.4 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 430aa61fbda918604e6dcfb41057ac6c47d63a3ecec8a75a67dbc863a163988c
MD5 f8243cf5b626cc7d82388290edfbe174
BLAKE2b-256 ba84c2daee413afab41bed35971f50508cfbe80fa09b00c548168e3ce37c5be1

See more details on using hashes here.

Provenance

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