{"id":21182902,"url":"https://github.com/swat1563/ed_tech_llm","last_synced_at":"2026-04-11T13:33:41.372Z","repository":{"id":233630589,"uuid":"787444036","full_name":"SwAt1563/ed_tech_llm","owner":"SwAt1563","description":"The SEL Assistant Chatbot Backend, developed using Django REST Framework, integrates Azure OpenAI and LangChain to provide robust API support and advanced language processing for a student-focused chatbot, ensuring effective and secure emotional and social support.","archived":false,"fork":false,"pushed_at":"2024-06-18T10:50:30.000Z","size":4355,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T22:13:11.674Z","etag":null,"topics":["azure","chatbot","cors","django","django-rest-framework","drf","langchain","langchain-python","llm","openai","openai-chatbot","prompt-engineering"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SwAt1563.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-16T14:31:35.000Z","updated_at":"2024-06-18T10:50:33.000Z","dependencies_parsed_at":"2024-04-20T18:22:32.701Z","dependency_job_id":"75853643-7b57-4969-8d73-47077e3e3425","html_url":"https://github.com/SwAt1563/ed_tech_llm","commit_stats":null,"previous_names":["swat1563/ed_tech_llm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SwAt1563/ed_tech_llm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwAt1563%2Fed_tech_llm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwAt1563%2Fed_tech_llm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwAt1563%2Fed_tech_llm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwAt1563%2Fed_tech_llm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwAt1563","download_url":"https://codeload.github.com/SwAt1563/ed_tech_llm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwAt1563%2Fed_tech_llm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31682953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","chatbot","cors","django","django-rest-framework","drf","langchain","langchain-python","llm","openai","openai-chatbot","prompt-engineering"],"created_at":"2024-11-20T17:58:28.625Z","updated_at":"2026-04-11T13:33:41.356Z","avatar_url":"https://github.com/SwAt1563.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SEL Assistant Chatbot Backend\n\nWelcome to the backend repository for the SEL Assistant Chatbot! This repository houses the core functionalities that power our chatbot, designed to support students by managing their emotions and providing social-emotional guidance outside school hours. Developed with Django REST framework, this backend integrates with Azure services, including Azure VM and Azure OpenAI, utilizing ChatGPT for natural language processing and LangChain for managing chat interactions and history.\n\n## Features\n\n- **API Integration**: RESTful API built with Django REST Framework to serve the frontend application.\n- **CORS Handling**: Configured to handle Cross-Origin Resource Sharing (CORS) for secure access between different domains.\n- **Azure VM Hosting**: Hosted on an Azure Virtual Machine for scalable, reliable performance.\n- **Azure OpenAI Integration**: Incorporates Azure OpenAI's pretrained models to enhance chatbot responses.\n- **LangChain**: Manages prompt templates and chat history effectively, ensuring a contextual and coherent interaction history.\n\n## Built With\n\n- **[Django REST Framework](https://www.django-rest-framework.org/)** - A powerful and flexible toolkit for building Web APIs in Django.\n- **[Azure VM](https://azure.microsoft.com/en-us/services/virtual-machines/)** - For hosting the application.\n- **[Azure OpenAI](https://azure.microsoft.com/en-us/services/cognitive-services/openai-service/)** - For utilizing AI models.\n- **[LangChain](https://www.langchain.com/)** - For managing conversation logic and state.\n\n## Getting Started\n\nFollow these instructions to get your backend server up and running.\n\n### Prerequisites\n\n- Python 3.8 or [newer]((https://www.python.org/downloads/))\n\n\n## Setup Instructions\n\nFollow these steps to get your development environment set up:\n\n### 1. Clone the Repository\n\nFirst, you need to clone the repository from GitHub to your local machine.\n\n```bash\ngit clone https://github.com/SwAt1563/ed_tech_llm.git\ncd ed_tech_llm\n```\n\n### 2. Create a Virtual Environment\n\nCreating a virtual environment is highly recommended to manage dependencies.\n\n#### For Windows:\n```bash\npython -m venv venv\nvenv\\Scripts\\activate\n```\n\n#### For Linux:\n```bash\npython3 -m venv venv\nsource venv/bin/activate\n```\n\n### 3. Install Requirements\n\nWith your virtual environment active, install the project dependencies using:\n\n```bash\npip install -r requirements.txt\n```\n\n### 4. Database Setup\n\nBefore running the application, you need to make migrations and migrate the database schemas.\n\n```bash\npython manage.py makemigrations\npython manage.py migrate\n```\n\n### 5. Run the Development Server\n\nFinally, start the Django development server:\n\n```bash\npython manage.py runserver\n```\n\nBy default, the server will start on `http://127.0.0.1:8000/`. You can open this address in a web browser to view the application.\n\n\n## Usage\n\nThis backend serves as the processing and data management layer for the SEL Assistant Chatbot, handling requests from the [frontend application](https://github.com/SwAt1563/chatbot-reactjs). It processes these requests to deliver appropriate responses based on the student's emotional state and queries.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswat1563%2Fed_tech_llm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswat1563%2Fed_tech_llm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswat1563%2Fed_tech_llm/lists"}