Skip to content

Commit

Permalink
feat(tools): add back document parser
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin committed Jul 31, 2024
1 parent a04fdb3 commit 7b72352
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions chart/env/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,34 @@ envVars:
],
"outputComponent": "gallery",
"showOutput": true
},
{
"_id": "000000000000000000000003",
"displayName": "Document parser",
"description" : "Use this tool to parse any document and get its content in markdown format.",
"color" : "yellow",
"icon" : "cloud",
"baseUrl" : "huggingchat/document-parser" ,
"name" : "document_parser",
"endpoint" : "/predict",
"inputs" : [
{
"name" : "document",
"description" : "Filename of the document to parse",
"paramType" : "required",
"type" : "file",
"mimeTypes" : ['application/*', 'text/*']
},
{
"name" : "filename",
"paramType" : "fixed",
"value" : "document.pdf",
"type" : "str"
}
],
"outputComponent": "textbox",
"outputComponentIdx": 0,
"showOutput": false
}
]
HF_ORG_ADMIN: '644171cfbd0c97265298aa99'
Expand Down

0 comments on commit 7b72352

Please sign in to comment.