Skip to content

Mued api adopted#9

Open
neagualexa wants to merge 6 commits intomainfrom
mued_api_adopted
Open

Mued api adopted#9
neagualexa wants to merge 6 commits intomainfrom
mued_api_adopted

Conversation

@neagualexa
Copy link
Copy Markdown
Collaborator

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 6 commits December 8, 2025 16:49
* refactoring: simplified folder structure

* fix: gitignore and cicd yml

* readme: update user and dev md

* fix: rm relative imports

* fix: add tests to dockerfile
* 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>
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