- Add local setup to readme
- Fixes the Course Chat View CourseMode concatenation issue
- Gates the chat history endpoint behind a waffle flag
- Add LearningAssistantAuditTrial model
- Updated Learning Assistant History payload to return in ascending order
- Fixed Learning Assistant History endpoint
- Added timestamp to the Learning Assistant History payload
- Fixed package version
- Added chat messages to the DB
- Add management command to remove expired messages
- Add LearningAssistantMessage model
- Add new GET endpoint to retrieve a user's message history in a given course.
- Upgraded to use
Python 3.12
- Use LEARNING_ASSISTANT_PROMPT_TEMPLATE for prompt
- Add error handling for invalid unit usage keys
- Remove GPT model field as part of POST request to Xpert backend
- Adds optional parameter to use updated prompt and model for the chat response.
- Modify call to Xpert backend to prevent use of course index.
- Use course cache to inject course title and course skill names into prompt template.
- Remove use of course waffle flag. Use the django setting LEARNING_ASSISTANT_AVAILABLE to enable the learning assistant feature.
- Enable backend access by course waffle flag or django setting.
- Add new GET endpoint to retrieve whether Learning Assistant is enabled in a given course.
- Fix release version
- Remove audit access to chat view.
- Modify gating of learning assistant based on waffle flag and enabled value.
- Remove and drop the course prompt model.
- Remove references to the course prompt model.
- Gate content integration with waffle flag
- Add content cache
- Integrate system prompt setting
- Add management command to generate course prompts
- Send reduced message list if needed to avoid going over token limit
- Allow any enrolled learner to access API.
- Remove deserialization of prompt field, as it is represented in the python native format
- Remove prompt field
- Remove references to prompt field
- Create json_prompt field to allow for more flexible prompts
- make prompt field nullable
- add endpoint authentication
- fix request structure required for endpoint integration
- fix for course id to course key conversion
- Add endpoint to retrieve chat response
- Created model to associate course ideas with a specific prompt text
- First release on PyPI.