-
Notifications
You must be signed in to change notification settings - Fork 1
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
🚚 (#266): RESTify az-document-ai service #279
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wollten wir nicht direkt das Dokument an den AZ-Dokumenten-AI-Service schicken? Wir machen jetzt immer noch mit URLs
import org.kie.kogito.internal.process.runtime.KogitoProcessInstance; | ||
|
||
@ApplicationScoped | ||
public class AnalyzeDocumentDelegate { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sollte das nicht über den FIN-Service gehen?
Der Service uploaded doch das Dokument. Der Org-Service kann doch damit nichts anfangen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wie meinst du über den FIN-Service gehen? Idee momentan ist das dieses Delegate vom FIN-Service das Dokument runterlädt (weil es im kogito process nicht vorhanden ist, nur die URL), um es dann an den az-document-ai service weiterzugeben
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das Hochladen und dann verarbeiten wird doch über den FIN-Service ausgelöst warum sollten wir dann im Org-Service das als ProzessDelegate haben?
So macht das auch Markus in #217.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das musst du @d135-1r43 fragen, wird sein weil der Prozess aus #217 im org-service implementiert ist (soweit ich weiß)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Genau, das mache ich transparent im Fin-Service, actually sogar direkt beim Uploaden des Belegbildes. Kann also raus aus dem Org Service.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also trotzdem als delegate, aber dafür im Fin Service? Haben wir im Fin Service im Prozess die Datei rumliegen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- FIN has endpoint for document upload
- this endpoint starts a kogito process, which extracts data from document
- process has file or url in it
Ja; deswegen ist der PR noch im draft. Ich hab noch auf confirmation gewartet wie genau wir des machen, und die Implementierung davon muss auch noch auf meine Prüfungsphase warten. |
closes #266