Skip to content

Commit

Permalink
feat(web): Support default strategy batch sync. (eosphoros-ai#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aralhi authored and Hopshine committed Sep 10, 2024
1 parent 8ac7692 commit 099ad15
Show file tree
Hide file tree
Showing 21 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion dbgpt/app/static/404.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/404/index.html

Large diffs are not rendered by default.

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

This file was deleted.

Large diffs are not rendered by default.

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

2 changes: 1 addition & 1 deletion dbgpt/app/static/agent/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/app/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/chat/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/database/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/flow/canvas/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/flow/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/knowledge/chunk/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/knowledge/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/models/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/prompt/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions web/components/knowledge/segmentation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export default function Segmentation(props: IProps) {
fileStrategies.map((item) => {
const name = item?.chunk_parameters?.chunk_strategy;
if (!name) {
message.error(`Please select chunk strategy for ${item.name}.`);
checked = false;
// set default strategy
item.chunk_parameters = { chunk_strategy: 'Automatic' };
}
const strategy = strategies.filter((item) => item.strategy === name)[0];
const newParam: any = {
Expand Down

0 comments on commit 099ad15

Please sign in to comment.