Posts

Showing posts from August, 2024

A target to design toward

Image
 I have difficulty with the technical or specific vision of VDP at its core. Of late I've fixated on the notion of having ChatGPT argue with itself until accepted by 2 Users/Humans. Since I re-established the web site to a working - albeit incomplete - functional state - I have been thing and clicking on ideas for a next step. I may have found one. I'm not sure what I found - but the image below strikes me as a presentation that folks who want to think may gravitate toward.  The first section of "Core Arguments" can be a CHATGPT/summarization of articles by users - equal numbers on same subject/topic for opposing sides of an issue. Perhaps a feature of the elected official piece is to define an issue - for which users select or write articles to be summarized. The second section "Evidence" - not sure how this is derived - but perhaps drawn from Journalist? This section is the most difficult to define. In the age of Trump/Maga, reality needs to be mutually ag...

The next step completed - at a milestone of sorts

 Well, after some effort - I've restored the ability to ask CHATGPT a question, then get a response, save it to a MySQL DB and display the answer. # Write a flask python code to for a flask-app.py to present templates/index.html Exported on 06/08/2024 at 10:39:54 [from Perplexity.ai](https://www.perplexity.ai/search/write-a-flask-python-code-to-f-fOQlgh6dQpi.oEmQerKbmg) - with [SaveMyChatbot](https://save.hugocollin.com) ## User write a flask python code to for a flask-app.py to present templates/index.html ## AI answer Certainly! Here's a basic Flask Python code for a `flask-app.py` file that will render and present a `templates/index.html` file: ```python from flask import Flask, render_template # Create a Flask application instance app = Flask(__name__) # Define the route for the home page @app.route('/') def home():     # Render the index.html template     return render_template('index.html') # Run the application if this script is executed directly if __nam...