feat: Better multi-file consistency for File Component (#8625)
* feat: First pass at output changes for file component * SQLite support and json parsing * [autofix.ci] apply automated fixes * Update base_file.py * [autofix.ci] apply automated fixes * Update file.py * [autofix.ci] apply automated fixes * Split text supporting messages * [autofix.ci] apply automated fixes * Support structured json data * Routine for inclusion of sample data * Couple more template updates * [autofix.ci] apply automated fixes * Update Text Sentiment Analysis.json * Update Portfolio Website Code Generator.json * Test coverage * [autofix.ci] apply automated fixes * Update constants.py * Update base_file.py * Update service.py * Update src/backend/base/langflow/components/processing/split_text.py Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> * [autofix.ci] apply automated fixes * Update service.py * Add get file size that is unimplemented * Update service.py * Fix return * Remove type annotation * Update graph for new templates * Update test_vector_store_rag.py * Update stop-building.spec.ts * [autofix.ci] apply automated fixes * Update fileUploadComponent.spec.ts * Update fileUploadComponent.spec.ts * Update fileUploadComponent.spec.ts * Update fileUploadComponent.spec.ts * Update fileUploadComponent.spec.ts * Update fileUploadComponent.spec.ts * [autofix.ci] apply automated fixes * Update fileUploadComponent.spec.ts * test update * Update fileUploadComponent.spec.ts * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
This commit is contained in:
parent
65b71bec5b
commit
e1624b8c6e
18 changed files with 3680 additions and 3965 deletions
|
|
@ -82,9 +82,7 @@ test(
|
|||
await page
|
||||
.getByTestId("handle-urlcomponent-shownode-extracted pages-right")
|
||||
.click();
|
||||
await page
|
||||
.getByTestId("handle-splittext-shownode-data or dataframe-left")
|
||||
.click();
|
||||
await page.getByTestId("handle-splittext-shownode-input-left").click();
|
||||
|
||||
//connection 2
|
||||
await page
|
||||
|
|
|
|||
|
|
@ -250,33 +250,8 @@ test(
|
|||
|
||||
await adjustScreenView(page);
|
||||
|
||||
await page
|
||||
.getByTestId("handle-file-shownode-loaded files-right")
|
||||
.first()
|
||||
.click();
|
||||
await page.getByTestId("handle-file-shownode-files-right").first().click();
|
||||
|
||||
await page
|
||||
.getByTestId("processingParser")
|
||||
.hover()
|
||||
.then(async () => {
|
||||
await page.getByTestId("add-component-button-parser").click();
|
||||
});
|
||||
|
||||
await adjustScreenView(page);
|
||||
await page
|
||||
.getByTestId("handle-file-shownode-loaded files-right")
|
||||
.first()
|
||||
.click();
|
||||
|
||||
await page
|
||||
.getByTestId("handle-parsercomponent-shownode-data or dataframe-left")
|
||||
.first()
|
||||
.click();
|
||||
|
||||
await page
|
||||
.getByTestId("handle-parsercomponent-shownode-parsed text-right")
|
||||
.first()
|
||||
.click();
|
||||
await page
|
||||
.getByTestId("handle-chatoutput-noshownode-inputs-target")
|
||||
.first()
|
||||
|
|
@ -348,6 +323,17 @@ test(
|
|||
timeout: 1000,
|
||||
});
|
||||
await page.getByTestId(`remove-file-button-${renamedTxtFile}`).click();
|
||||
|
||||
await page
|
||||
.getByTestId("handle-file-shownode-raw content-right")
|
||||
.first()
|
||||
.click();
|
||||
|
||||
await page
|
||||
.getByTestId("handle-chatoutput-noshownode-inputs-target")
|
||||
.first()
|
||||
.click();
|
||||
|
||||
await page
|
||||
.getByRole("button", { name: "Playground", exact: true })
|
||||
.click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue