strapi / community-content

Contribute and collaborate on educational content for the Strapi Community
https://strapi.io/write-for-the-community
572 stars 402 forks source link

Building a Document Question Answering App with Vue.js, Hugging Face, and Strapi #1433

Closed GeekEdmund closed 4 months ago

GeekEdmund commented 4 months ago

What is your article idea?

The idea is to write an article that will cover the process of building a document question answering application using Vue.js for the frontend, Hugging Face for document question answering (QA) models, and Strapi for backend management. You'll learn how to set up the project, connect the frontend to Strapi, and ultimately create an application that utilizes AI, powered by Hugging Face models, to analyze documents and provide answers to user queries.

What are the objectives of your article?

I. Introduction

II. Prerequisites

III. Project Setup

IV. Vue.js Component Structure

V. Document Processing and QA Generation

VI. Strapi Backend Integration

VII. User Interface and Interactivity

VIII. Conclusion

What is your expertise as a developer or writer?

Advance

What type of post is this?

Tutorial

Terms & Conditions

GeekEdmund commented 4 months ago

Hi @Theodore-Kelechukwu-Onyejiaku!

What do you think about this article idea?

Theodore-Kelechukwu-Onyejiaku commented 4 months ago

Hi @GeekEdmund ,

Thanks for your contribution. Your outline is great but a bit shy off of the AI part. Can you please give more details on the AI part?

GeekEdmund commented 4 months ago

Hi @Theodore-Kelechukwu-Onyejiaku ,

The central role of AI in this project is to provide an intelligent question answering capability that can analyze documents and retrieve relevant answers to user queries. This is achieved by leveraging pre-trained AI models from the Hugging Face

Theodore-Kelechukwu-Onyejiaku commented 4 months ago

Hi @GeekEdmund ,

Thanks for the clarification. I was expecting you to mention RAG. But let me know if what you mean here is "Build an RAG powered AI chatbot with Vue.js, Hugging Face, and Strapi"?.

GeekEdmund commented 4 months ago

Hi @Theodore-Kelechukwu-Onyejiaku .

My focus is on building an app that ingests, say a research paper on climate change as input documents, scan for questions like 'What are the main causes of global warming according to the paper?', and then returns the precise answer.

Theodore-Kelechukwu-Onyejiaku commented 4 months ago

HI @GeekEdmund,

At the moment we are not interested in this topic.

Please do well to join our Discord community channel (#write-for-the-community) to learn more about the recent updates and developments, https://discord.gg/invite/strapi. 😊

GeekEdmund commented 4 months ago

Hi @Theodore-Kelechukwu-Onyejiaku

I can proceed to implement as you requested "Build an RAG powered AI chatbot with Vue.js, Hugging Face, and Strapi" How about that.