body = {
'resources': resources,
'metadata': {}
}
embed_content_request = EmbedContentRequest(
headers={}, # Leaving this to allow for passing of headers to external api
params={}, # Same for this
body=body
)
return self.backend.make_request(embed_content_request)
Where
Overview
This task involves updating
embed_contentinRecommendationsAdapterto be able to get all file URLs for each node from which textual content will be extracted.Description and outcomes
embed_contentinRecommendationsAdapterembed_contentaccepts a list of nodes(ContentNode) as a parameter.kindandpresetfields inContentNodeandFilemodels respectively to determine which file URLs to extract.mp3)mp4,web)html5)h5p)zim)pdf,epub)resourcesis the updated embed_content_request.jsonAcceptance Criteria
embed_contentare extracted correctlyAssumptions and Dependencies
embed_content_request.jsonschema le-utils#122Scope
The scope of this task is limited to;
embed_contentto gather all file URLs required for content extraction.Accessibility Requirements
NA
Resources