Zoonk.AI.CourseRecommendation (Zoonk v0.1.0-dev)
View SourceSchema for storing learning recommendations.
This schema stores user queries when they want to learn a subject along with the AI-generated course recommendations. Storing these recommendations allows us to avoid repeated AI calls for common queries.
Fields
Field Name | Type | Description |
---|---|---|
query | String | The user's input about what they want to learn. |
language | Ecto.Enum | The language of the query and recommendations. |
courses | List | Collection of recommended courses. |
inserted_at | DateTime | Timestamp when the recommendation was created. |
updated_at | DateTime | Timestamp when the recommendation was updated. |
Summary
Functions
Creates a changeset for a course recommendation.