Skip to content
Discussion options

You must be logged in to vote
  1. CocoIndex caches on the boundary of "CocoIndex functions". For builtin functions, caches are enabled for heavy processings (e.g. run an embedding model, or run LLM); for custom functions, caching can be enabled by cache = True (document). Once a file is modified, for those unchanged function invocations, cached output can be reused (e.g. if some chunks don't change, the function invocation to compute its embedding can be reused).

    This blog has more explanations of how CocoIndex is trying to minimize recomputing across changes.

  2. We haven't integrated with webhook yet, but one possible solution is to:

    • Clone a local git repo.
    • In your own webhook service, pull the latest changes once rece…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by badmonster0
Comment options

You must be logged in to vote
1 reply
@Paradoxinit
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