File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
backend/src/modules/eximport/sdocs Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ def __export_sdocs(
145145 metadata = metadata_list ,
146146 content = sdoc_data .content ,
147147 html = sdoc_data .html ,
148+ raw_html = sdoc_data .raw_html ,
148149 token_starts = sdoc_data .token_starts ,
149150 token_ends = sdoc_data .token_ends ,
150151 sentence_starts = sdoc_data .sentence_starts ,
Original file line number Diff line number Diff line change @@ -241,6 +241,7 @@ def import_sdocs_to_proj(
241241 repo_url = relative_url ,
242242 content = sdoc_export .content if sdoc_export .content else "" ,
243243 html = sdoc_export .html ,
244+ raw_html = sdoc_export .raw_html ,
244245 token_starts = sdoc_export .token_starts ,
245246 token_ends = sdoc_export .token_ends ,
246247 sentence_starts = sdoc_export .sentence_starts ,
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ class SourceDocumentExportSchema(BaseModel):
3636 # Processed data of the source document
3737 content : str | None = Field (description = "Content of the source document" )
3838 html : str = Field (description = "HTML representation of the source document" )
39+ raw_html : str = Field (description = "Raw HTML representation of the source document" )
3940 token_starts : list [int ] = Field (
4041 description = "List of start positions of tokens in the source document"
4142 )
You can’t perform that action at this time.
0 commit comments