This project aims to revolutionize global financial workflows by enabling seamless communication with invoices in multiple languages. Leveraging the power of the Gemini Pro API, this solution integrates advanced language processing capabilities, allowing users to effortlessly interact with invoices written in diverse linguistic contexts.
- Multilingual Support: Communicate with invoices in various languages effortlessly.
- Advanced Technology Integration: Harness the capabilities of the Gemini Pro API for enhanced language understanding.
- Streamlined Workflows: Simplify cross-cultural financial operations with automated and efficient processes.
- Easy to use: Streamlined user interface for enhanced efficiency and quicker task completion.
Ensure you have the following dependencies installed:
- Streamlit: A Python library for creating web applications with minimal effort.
- Google GenerativeAI: API for generative models by OpenAI for enhanced language processing.
- python-dotenv: Manage environment variables for your project.
- langchain: A library for multilingual natural language processing.
- PyPDF2: A library for reading PDF files in Python.
- chromadb: A lightweight document database for Python.
- faiss-cpu: An efficient similarity search and clustering library for large datasets.
- Clone the repository:
git clone https://github.com/your-username/multilingual-invoice-communicator.git
- Configure environment variables: Create a
.env
file and set up necessary variables (see.env.example
). - Generate an API Key for yourself from here: Generate Google API Key
- Create a .env file and paste the copied API Key as:GOOGLE_API_KEY="{YOUR API KEY}"
- Install dependencies:
pip install -r requirements.txt
. - Run the app:
streamlit run app.py
.
Upload an invoice in "jpg", "jpeg", or "png" formats, input your inquiry or desired details, and click submit to instantly receive the extracted information.
This project utilizes the powerful Gemini Pro API for enhanced language understanding and communication with invoices. For detailed documentation on integrating Gemini Pro API, please refer to the Gemini API Documentation.
Experience the application here: polylingual-invoice-genius
- Special thanks to the creators of Streamlit, Google GenerativeAI, Gemini Pro API, and other dependencies.