mirror of
https://github.com/arc53/DocsGPT.git
synced 2026-05-03 23:36:38 +00:00
Remove unneeded duplicate words
This commit is contained in:
@@ -57,7 +57,7 @@ class HTMLParser(BaseParser):
|
|||||||
title_indexes = [i for i, isd_el in enumerate(isd) if isd_el['type'] == 'Title']
|
title_indexes = [i for i, isd_el in enumerate(isd) if isd_el['type'] == 'Title']
|
||||||
|
|
||||||
# Creating 'Chunks' - List of lists of strings
|
# 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
|
# 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
|
# Where Each Title is grouped together with the data under it
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ You can learn more about options while running ingest.py by running:
|
|||||||
`python ingest.py --help`
|
`python ingest.py --help`
|
||||||
| Options | |
|
| 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] |
|
| --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 |
|
| --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] |
|
| --recursive / --no-recursive | Whether to recursively search in subdirectories [default: recursive] |
|
||||||
|
|||||||
2
extensions/react-widget/dist/index.es.js
vendored
2
extensions/react-widget/dist/index.es.js
vendored
@@ -366,7 +366,7 @@ function fr() {
|
|||||||
}
|
}
|
||||||
function ye(e) {
|
function ye(e) {
|
||||||
if (Je(e))
|
if (Je(e))
|
||||||
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qe(e)), ge(e);
|
return g("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", qe(e)), ge(e);
|
||||||
}
|
}
|
||||||
var W = O.ReactCurrentOwner, Be = {
|
var W = O.ReactCurrentOwner, Be = {
|
||||||
key: !0,
|
key: !0,
|
||||||
|
|||||||
2
extensions/react-widget/dist/index.es.js.map
vendored
2
extensions/react-widget/dist/index.es.js.map
vendored
File diff suppressed because one or more lines are too long
2
extensions/react-widget/dist/index.umd.js
vendored
2
extensions/react-widget/dist/index.umd.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -57,7 +57,7 @@ class HTMLParser(BaseParser):
|
|||||||
title_indexes = [i for i, isd_el in enumerate(isd) if isd_el['type'] == 'Title']
|
title_indexes = [i for i, isd_el in enumerate(isd) if isd_el['type'] == 'Title']
|
||||||
|
|
||||||
# Creating 'Chunks' - List of lists of strings
|
# 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
|
# 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
|
# Where Each Title is grouped together with the data under it
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user