Metadata-Version: 2.4
Name: forcolate
Version: 0.1.0
Summary: A library for semantic search in local environment
Home-page: https://github.com/FOR-sight-ai/FORcolate
Author: FOR team
Author-email: jonathan.sprauel@irt-saintexupery.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: LICENSE.txt
Requires-Dist: pywin32
Requires-Dist: sentence-transformers
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Forcolate Library


[![Build status](https://img.shields.io/github/actions/workflow/status/FOR-sight-ai/forcolate/publish.yml?branch=main)](https://github.com/FOR-sight-ai/forcolate/actions?query=workflow%3Abuild-and-publish)
[![Docs status](https://img.shields.io/readthedocs/forcolate)](TODO)
[![Version](https://img.shields.io/pypi/v/forcolate?color=blue)](https://pypi.org/project/forcolate/)
[![Python Version](https://img.shields.io/pypi/pyversions/forcolate.svg?color=blue)](https://pypi.org/project/forcolate/)
[![Downloads](https://static.pepy.tech/badge/forcolate)](https://pepy.tech/project/forcolate)
[![License](https://img.shields.io/github/license/FOR-sight-ai/forcolate)](https://github.com/FOR-sight-ai/forcolate/blob/main/LICENSE)

  <!-- Link to the documentation -->
  <a href="TODO"><strong>Explore FORcolate docs »</strong></a>
  <br>

</div>

_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:

```bash
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:

```python
from forcolate import process_outlook_emails

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

file_paths = process_outlook_emails(save_directory, threshold, query, limit)
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](LICENSE) file for details.
