Skip to content
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

DOCUMENTTAGGING action fails on subsequent requests (after initial tagging) #148

Closed
reganwolfrom opened this issue Jul 11, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@reganwolfrom
Copy link
Member

When requesting a document tagging action, the initial request completes, but any subsequent request stays as "pending".

Example:

Initial actions (one initial request made):

{"actions":[{"type":"ocr","userId":"regan@formkiq.com","status":"complete"},{"type":"fulltext","userId":"regan@formkiq.com","status":"complete"},{"type":"documenttagging","userId":"regan@formkiq.com","parameters":{"engine":"chatgpt","tags":"document type,contract purpose,party names,party addresses,party signatories,clause names"},"status":"complete"},

Subsequent action:

{"type":"documenttagging","userId":"regan@formkiq.com","parameters":{"engine":"chatgpt","tags":"signatories"},"status":"pending"}]}

Subsequent request:
POST /documents/8f5a6dab-c588-4310-b170-64928008befd/actions?siteId=default

{"actions":[{"type":"DOCUMENTTAGGING",
"parameters": {
"engine": "chatgpt",
"tags": "signatories"
}}]}
@reganwolfrom reganwolfrom added the bug Something isn't working label Jul 11, 2023
@reganwolfrom reganwolfrom modified the milestones: v1.12.0, v1.11.1 Jul 11, 2023
mfriesen added a commit that referenced this issue Jul 18, 2023
* #148 - POST /documents/{documentId}/actions fails to run new actions

* #149 - adjusting chatgpt response

* Updated console to v3.2.2

* GET /configuration - Adding mask keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant