cheshire-cat-ai / docs

Documentation for the Cheshire Cat AI
https://cheshire-cat-ai.github.io/docs/
31 stars 27 forks source link

Wrong example for `after_rabbithole_splitted_text` #151

Closed pieroit closed 1 month ago

pieroit commented 2 months ago

Can confirm this works:

@hook
def after_rabbithole_splitted_text(chunks, cat):
    for chunk in chunks:
        chunk.page_content = "anythaaang"
    return chunks