sensible-hq / sensible-docs

powers https://docs.sensible.so/
2 stars 0 forks source link

postprocessor (jsonlogic) #306

Closed fscelliott closed 2 months ago

fscelliott commented 2 months ago

https://github.com/sensible-hq/sensible/pull/2513

^ docs probably will stay unindexed until CSEs test it out

fscelliott commented 2 months ago

conceptual stuff:

preprocessor operates on the standardized direct text extraction. They happen before fingerprints+field extraction postprocessor operates on the entire parsedDocument object (or on the entire extraction response?) Happens after field extraction and ...before extraction scoring?

fscelliott commented 2 months ago

when working: https://dev.sensible.so/editor/?d=frances_playground&c=test&g=custom_output_sections (or inspect w/ chrome tools)

fscelliott commented 2 months ago

OK it's working (todo: check out how it appears in the API response):

image

fscelliott commented 2 months ago

https://www.notion.so/sensiblehq/Schema-uniformity-without-script-possible-706edde0c6584f5b90ad4569d358cfc7

fscelliott commented 2 months ago

https://dev.sensible.so/editor/?d=frances_playground&c=postprocessor_object_operator&g=postprocessor_logic

https://dev.sensible.so/editor/?d=frances_playground&c=postprocessor_tax&g=custom_output_sections&v=

fscelliott commented 2 months ago

https://dev.sensible.so/editor/?d=frances_playground&c=postprocessor_tax&g=2024_form_w_2&v=