Skip to content
Discussion options

You must be logged in to vote

Proper external predicates called during evaluation are not supported yet (they will be). UPDATE: There is an external predicates API now ea0330c

There are a few ways / patterns / conventions which are often good enough in the meantime. I should document these recipes better.

Let me know if these examples help, or whether you really prefer runtime external predicates.

1. offline, full, ahead-of-time

The simplest is to retrieve the data and then populate the factstore with facts, before doing evaluation. Ths README was written with such a setup in mind, where we can retrieve all the data upfront. Example code that populates a factstore from a file. You could also just add the facts to the …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@burakemir
Comment options

Answer selected by khanhhua
Comment options

You must be logged in to vote
1 reply
@kamahen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants