Skip to content

Commit

Permalink
Remove unneeded duplicate words
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Oct 6, 2023
1 parent b3a0368 commit 7c5d9b9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion application/parser/file/html_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def parse_file(self, file: Path, errors: str = "ignore") -> Union[str, list[str]
title_indexes = [i for i, isd_el in enumerate(isd) if isd_el['type'] == 'Title']

# Creating 'Chunks' - List of lists of strings
# each list starting with with isd_el['type'] = 'Title' and all the data till the next 'Title'
# each list starting with isd_el['type'] = 'Title' and all the data till the next 'Title'
# Each Chunk can be thought of as an individual set of data, which can be sent to the model
# Where Each Title is grouped together with the data under it

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/Guides/How-to-train-on-other-documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can learn more about options while running ingest.py by running:
`python ingest.py --help`
| Options | |
|:--------------------------------:|:------------------------------------------------------------------------------------------------------------------------------:|
| **ingest** | Runs 'ingest' function converting documentation to to Faiss plus Index format |
| **ingest** | Runs 'ingest' function converting documentation to Faiss plus Index format |
| --dir TEXT | List of paths to directory for index creation. E.g. --dir inputs --dir inputs2 [default: inputs] |
| --file TEXT | File paths to use (Optional; overrides directory) E.g. --files inputs/1.md --files inputs/2.md |
| --recursive / --no-recursive | Whether to recursively search in subdirectories [default: recursive] |
Expand Down
2 changes: 1 addition & 1 deletion extensions/react-widget/dist/index.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extensions/react-widget/dist/index.es.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/react-widget/dist/index.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extensions/react-widget/dist/index.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/parser/file/html_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def parse_file(self, file: Path, errors: str = "ignore") -> Union[str, list[str]
title_indexes = [i for i, isd_el in enumerate(isd) if isd_el['type'] == 'Title']

# Creating 'Chunks' - List of lists of strings
# each list starting with with isd_el['type'] = 'Title' and all the data till the next 'Title'
# each list starting with isd_el['type'] = 'Title' and all the data till the next 'Title'
# Each Chunk can be thought of as an individual set of data, which can be sent to the model
# Where Each Title is grouped together with the data under it

Expand Down

0 comments on commit 7c5d9b9

Please sign in to comment.