olimiemma / ConsultTheWordv2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# ConsultTheWord

ConsultTheWord is a chat application that allows users to seek guidance and insights from various sacred texts using AI language models. Users can input their questions or concerns, select a sacred text, and receive generated responses based on the chosen text.

## Features

- User-friendly interface for inputting questions and selecting sacred texts
- Integration with AI language models (GPT, Claude, GEMINI) for generating responses
- Customizable background image and styling
- Responsive design for optimal viewing on different devices

## Technologies Used

- HTML
- CSS
- JavaScript
- Python
- Flask
- OpenAI API

## Getting Started

### Prerequisites

- Python 3.x
- Flask
- OpenAI API key

### Installation

1. Clone the repository:

git clone https://github.com/olimiemma/ConsultTheWordv2.git


2. Navigate to the project directory:

cd ConsultTheWordv2


3. Create a virtual environment (optional but recommended):

python3 -m venv venv


4. Activate the virtual environment:
- For Windows:
  ```
  venv\Scripts\activate
  ```
- For macOS and Linux:
  ```
  source venv/bin/activate
  ```

5. Install the required dependencies:

pip install -r requirements.txt


6. Set up the OpenAI API key:
- Open the `app.py` file.
- Replace `"YOUR_API_KEY"` with your actual OpenAI API key.

7. Run the application:

python app.py


8. Open your web browser and visit `http://localhost:5000` to access the chat application.

## Usage

1. Enter your question or concern in the "Whats wrong Child" input field.
2. Select a sacred text from the dropdown menu.
3. Click the "Submit" button.
4. The AI-generated response will appear below the form.

## Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

## License

This project is licensed under the [MIT License](LICENSE).

## Contact

For any questions or inquiries, please contact https://www.linkedin.com/in/olimiemma/

About


Languages

Language:Python 99.7%Language:JavaScript 0.1%Language:PowerShell 0.1%Language:Roff 0.1%Language:C 0.0%Language:CSS 0.0%Language:Shell 0.0%Language:HTML 0.0%