Skip to content

Commit

Permalink
Added another column
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrislain committed Dec 11, 2024
1 parent e884709 commit e89dd3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/routes/_layout/document-data-extractors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function ExtractorExamples({documentDataExtractor, is_selected, onClick}: {docum
<Tr bgColor={secBgColor}>
<Th>Name</Th>
<Th>Prompt</Th>
<Th>Process As</Th>
<Th>Response Template</Th>
<Th>Timestamp</Th>
</Tr>
Expand All @@ -85,6 +86,7 @@ function ExtractorExamples({documentDataExtractor, is_selected, onClick}: {docum
<Th>Document</Th>
<Th>Data</Th>
<Th></Th>
<Th></Th>
</Tr>
</Thead>
<Tbody>
Expand Down Expand Up @@ -133,6 +135,7 @@ function ExtractorExamples({documentDataExtractor, is_selected, onClick}: {docum
}).then(()=> queryClient.invalidateQueries({ queryKey: ['document_data_extractors'] }));
}}>Add Example</Button>
</Td>
<Td></Td>
</Tr>
</Tbody>
<Tbody>
Expand All @@ -142,6 +145,7 @@ function ExtractorExamples({documentDataExtractor, is_selected, onClick}: {docum
<Td><Tag><Link href={"/documents#"+documentDataExample.document_id}>{documentDataExample.document_id}</Link></Tag></Td>
<Td><Text whiteSpace="pre">{documentDataExample.data}</Text></Td>
<Td></Td>
<Td></Td>
</Tr>
))}
</Tbody>
Expand All @@ -152,6 +156,7 @@ function ExtractorExamples({documentDataExtractor, is_selected, onClick}: {docum
<Tr key={documentDataExtractor.name}>
<Td><Tag>{documentDataExtractor.name}</Tag></Td>
<Td><Text whiteSpace="pre">{documentDataExtractor.prompt}</Text></Td>
<Td><Text whiteSpace="pre">{documentDataExtractor.process_as}</Text></Td>
<Td><Text whiteSpace="pre">{documentDataExtractor.response_template}</Text></Td>
<Td>{documentDataExtractor.timestamp}</Td>
</Tr>
Expand Down Expand Up @@ -201,6 +206,7 @@ function DataExtractors() {
<Tr>
<Th>Name</Th>
<Th>Prompt</Th>
<Th>Process As</Th>
<Th>Response Template</Th>
<Th>Timestamp</Th>
</Tr>
Expand Down

0 comments on commit e89dd3a

Please sign in to comment.