1234567891011121314151617181920 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Langchain QA</title>
- </head>
- <body>
- <h1>Langchain Question Answering</h1>
- <form method="POST">
- <label for="question">Enter your question:</label>
- <input type="text" name="question" id="question">
- <input type="submit" value="Ask">
- </form>
- {% if result %}
- <h2>Answer:</h2>
- <p>{{ result }}</p>
-
- {% endif %}
-
- </body>
- </html>
|