Skip to content

Mued api adopted#5

Merged
neagualexa merged 11 commits into
mainfrom
mued_api_adopted
Apr 20, 2026
Merged

Mued api adopted#5
neagualexa merged 11 commits into
mainfrom
mued_api_adopted

Conversation

@neagualexa
Copy link
Copy Markdown
Contributor

This PR updates the chatbot Lambda to accept/return the muEd API ChatRequest/ChatResponse schema, including message history, user preferences, and educational context.

Changes:

  • Switched index.py + src/module.py to validate/consume ChatRequest and return ChatResponse (muEd format).
  • Replaced the legacy “question_response_details” prompt parsing with a new src/agent/context.py that formats muEd context + taskProgress into an LLM prompt.
  • Refactored/expanded tests to validate muEd request/response structure and added real muEd example payloads for end-to-end coverage.

neagualexa and others added 11 commits March 19, 2026 16:29
* refactoring: simplified folder structure

* fix: gitignore and cicd yml

* readme: update user and dev md

* fix: rm relative imports

* fix: add tests to dockerfile

* muEd request, response adopted

* remove unnecessary request attributes

* fix

* fix

* refactoring for mued with simlified structure and better testing

* Update src/agent/context.py response format prompt

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@neagualexa neagualexa merged commit 05359dd into main Apr 20, 2026
@neagualexa neagualexa deleted the mued_api_adopted branch April 20, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant