-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRAFT: Updated chunk APIs #2901
Conversation
Signed-off-by: Jin Hai <[email protected]>
Signed-off-by: Jin Hai <[email protected]>
Signed-off-by: Jin Hai <[email protected]>
- `available`: `int` Indicating the availability status, `0` means unavailable and `1` means available | ||
- `"content"`: `str` Content of the chunk. | ||
- `"important_keywords"`: `list[str]` A list of key terms to attach to the chunk. | ||
- `"available"`: `int` The chunk's availability status in the dataset. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
????
Number of records engaged in vector cosine computaton. Defaults to `1024`. | ||
The number of chunks engaged in vector cosine computaton. Defaults to `1024`. | ||
|
||
#### rerank_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rerank_id => reranker_id
knowledgebases: list[DataSet] = [], | ||
name: str, | ||
avatar: str = "", | ||
knowledgebases: list[str] = [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
knowledgebases=>datasets
### What problem does this PR solve? ### Type of change - [x] Documentation Update --------- Signed-off-by: Jin Hai <[email protected]> Co-authored-by: Jin Hai <[email protected]>
What problem does this PR solve?
Type of change