CandidateGPT is actively under development, focusing on refining features and ensuring transparent AI interactions in political discussions. By utilizing advanced AI technology from OpenAI, CandidateGPT mirrors the candidate’s positions, providing an interactive and direct engagement tool for voters. We are working to transform political discourse through meaningful conversations between candidates and constituents.
We welcome contributors to help us enhance response accuracy, expand data sources, and shape the future of political communication. Join us as we build a more transparent political system.
-
Clone the repository:
git clone https://github.com/HenselForCongress/candidategpt.git cd candidategpt
-
Set up environment variables:
cp .env.example .env
-
Start the services using Docker Compose:
docker-compose up --build
-
Access the application at
http://localhost:5024
or at the specified host and port in your environment variables.
- Contribute code or improvements through pull requests on GitHub. Check our backlog for current task assignments.
- Report issues or suggest features in our issue tracker.
Ensuring the security of the code is essential for maintaining trust and reliability. Run a comprehensive security test using Bandit to analyze the project's Python code for vulnerabilities, common security issues, or general coding best practices. Execute the following command to initiate the test and receive a detailed report:
poetry run bandit -r .
CandidateGPT integrates with several auxiliary services to enhance its capabilities:
This service powers the deployment and interaction capabilities of our AI models. Check out the Langflow GitHub repository for more integration details and deployment guidelines. Use the Docker Deploy Docs for seamless setup.
Cloudflare AI Gateway provides scalable and secure API access for running our AI models efficiently. It ensures reliable performance and helps manage API requests effectively. This integration enhances CandidateGPT’s ability to handle concurrent interactions and maintain responsiveness under varying loads. For more information, visit the Cloudflare AI Gateway page.
Sentry supports comprehensive error monitoring and tracking, enabling us to swiftly address any issues and optimize platform performance. By integrating Sentry, we ensure that any unexpected behaviors in the system are quickly identified and resolved, maintaining a high standard of reliability and user trust. Learn more by visiting Sentry's official site.
All repositories under the Hensel for Congress organization are licensed under the GNU Affero General Public License version 3.0 (AGPL-3.0). You are free to use, copy, distribute, and modify the software as long as any modifications or derivative works are also licensed under AGPL-3.0. This ensures that the source code remains available to users interacting with the software over a network, promoting transparency and the freedom to modify networked software.
For more details, see the full text of the license.
Join us in reshaping political communication for a more transparent future. Whether you can contribute code, ideas, or support Bentley’s campaign, every effort makes a difference.
Paid for by Hensel for Congress |