Spaces:
Running
Running
File size: 4,472 Bytes
fd42007 3939755 fd42007 bccd086 fd42007 2e05594 fd42007 a63f6a9 fd42007 bccd086 fd42007 98b4f4a fd42007 a0d337b fd42007 2e05594 fd42007 2e05594 595b3fc 2e05594 fd42007 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
---
title: VirtualBrainGPT
emoji: π
colorFrom: blue
colorTo: gray
sdk: streamlit
sdk_version: 1.19.0
app_file: VirtualBrainGPT.py
pinned: false
license: mit
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# VirtualBrainGPT: Digital Journal π
VirtualBrainGPT is a digital journal application that leverages the power of OpenAI's Embeddings and Langchain to create a seamless and efficient journaling experience. With the capability to search and extract information from journal entries in seconds, VirtualBrainGPT becomes an indispensable tool for users who want to recall specific details from their past entries.
# Web App
Click [Here](https://huggingface.co/spaces/Kaludi/VirtualBrainGPT "Here") To View This Application Online!
![virtualbrain1](https://user-images.githubusercontent.com/63890666/236293237-91513db9-aa58-4e9f-953c-74aa30f4be20.png)
![virtualbrain2](https://user-images.githubusercontent.com/63890666/236293231-d3a6562d-7949-485f-a7dd-3333ada98732.png)
![virtualbrain3](https://user-images.githubusercontent.com/63890666/236293238-270ebdd6-c34d-467b-89ef-26cebd89af23.png)
## Features
- Create and manage journal entries using a clean interface.
- Search and extract information from journal entries quickly and accurately.
- Support for both TXT and PDF file formats.
- Powered by OpenAI's Embeddings and Langchain for efficient information retrieval.
## Usage
### Brain Entry
In the 'Brain Entry' section, users can create a new journal entry or edit an existing one by choosing a date using the date picker. Once you have completed your entry, click 'Submit' and it will be saved or updated to the brain_journal.txt file in the brain folder.
### Brain Search
The 'Brain Search' section of the application unlocks the full potential of your digital journal. Here, you can ask any questions related to your journal entries, and the combination of OpenAI's Embeddings and Langchain will provide accurate responses in seconds, no matter how long the entry or document may be. The virtual brain can help in all aspects of a user's life, enabling users to easily recall specific information, even if they can't remember it themselves. Users also have an option to select other file types if they wish to upload their own file, the current file types include TXT and PDF files, which can be selected in the file type dropdown option. Along with the response, you will also get information about the amount of tokens that were used and the Total Cost of the query.
## Examples of Use-Cases
This application can be used in many ways. Imagine five years from now, you're trying to recollect a specific event that you documented in your journal, or you may have kept a journal from your childhood. VirtualBrainGPT will locate the exact date and provide you with a detailed account of that exact situation in a matter of seconds, as well as any other memories that you may have forgotten about. This type of application also could offer invaluable support for individuals with Alzheimer's, helping them retrieve memories from the past that may have been lost and share them with their loved ones.
## Tools & Libraries Used
### Tools
- OpenAI [Embeddings](https://platform.openai.com/docs/guides/embeddings)
- [LangChain](https://python.langchain.com/en/latest/use_cases/question_answering.html)
- [Streamlit](https://streamlit.io/)
### Libraries
- Streamlit
- OpenAI
- PyPDF2
- LangChain
- python-dotenv
- tiktoken
- faiss-cpu
## Installation
To install VirtualBrainGPT, you need to have Python 3.7+ installed. Follow these steps to install the necessary dependencies:
1. Clone this repository:
`git clone https://github.com/Kaludii/VirtualBrainGPT.git`
2. Change directory to the cloned repository:
`cd VirtualBrainGPT`
3. Install the required packages:
`pip install -r requirements.txt`
4. Run the Streamlit application:
`streamlit run VirtualBrainGPT.py`
## About the Developer
This application was developed by [Kaludii](https://github.com/Kaludii) using the the different tools and libraries linked above. Kaludii is an AI enthusiast who is passionate about developing and applying large learning models to solve real-world problems quickly and stress-free.
## Contributions
If you have any suggestions or improvements for this project, feel free to open an issue or submit a pull request. Your contributions are always welcome! |