Submitted by: Kevin,Danyaal,Manal,Affan
AI-Chat Support is an AI-powered customer support chatbot using Next.js and the OpenAI API.
Time spent: X hours spent in total
The following required functionality is completed:
- Level 1: Create a basic chatbot with hard coded responses
- Level 2: Respond to the user intelligently using any Gen-AI model
- Level 3: Deploy your web-app to AWS EC2 Servers
- Level 3.5: Respond to the user with LLMs through the AWS Bedrock API
- Level 4: Implement RAG so the chatbot responds based on a given knowledge base
- Level 4.5: Create an LLM orchestration pattern with a router and task specific models
The following optional features are implemented:
- Bonus: Add multi-language support to cater to a diverse customer base
- Bonus: Add user authentication to personalize the chat experience
- Bonus: Implement a feedback mechanism for users to rate the chatbot's responses
Here's a walkthrough of implemented user stories:
GIF created with ...
- Bill Zhang's step by step code walkthrough: https://medium.com/@billzhangsc/building-an-ai-powered-support-assistant-with-next-js-and-openai-3c2c8e18cd4c
- Bill zhang's original video walkthrough: https://www.loom.com/share/03b87bb24f9f462d8353807211f7c4a1
- RAG Tutorial with OpenAI, LangChain, & Pinecone: https://www.loom.com/share/75af4269ab66450e943160c199895aa7
- Free API to access the LLama 3.1 LLM: https://openrouter.ai/models/meta-llama/llama-3.1-8b-instruct:free
- ChatGPT API Setup in Node.js: https://www.youtube.com/watch?v=emS9QL5EmXk&ab_channel=MervinPraison
- How to Deploy a Node.js App with AWS EC2: https://www.youtube.com/watch?v=nQdyiK7-VlQ&ab_channel=SamMeech-Ward
- Amazon Bedrock API Tutoral: https://www.youtube.com/watch?v=nSQrY-uPWLY&ab_channel=AWSDevelopers
- LangChan (OpenAI) Vector Embeddings for beginners: https://www.youtube.com/watch?v=xdr5ByCpnd4&ab_channel=Ryan%26MattDataScience
- Intro to RAG for AI (Retrieval Augmented Generation): https://www.youtube.com/watch?v=Y08Nn23o_mY&ab_channel=MatthewBerman
- How to Improve LLM with RAG: https://www.youtube.com/watch?v=Ylz779Op9Pw&ab_channel=ShawTalebi
- Build and deploy a RAG app with Pinecone: https://www.youtube.com/watch?v=EhlPDL4QrWY&ab_channel=LangChain
Describe any challenges encountered while building the app.
Copyright [2024] [Kevin]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
