Extending Knowledge Table Functionality #79
Replies: 2 comments
-
Hey @ericsonseleya, reposting the answer from Discord :) Cool question. The data structure is a table object, which will have rows and columns, and each of these will have cells. See the Pydantic models here: https://github.com/whyhow-ai/knowledge-table/blob/main/backend/src/app/models/table.py From there, the best place to update it would be in the query_service: https://github.com/whyhow-ai/knowledge-table/blob/main/backend/src/app/services/query_service.py That, or create a new service for it. Instead of breaking down the logic from table to row, you can keep the full column reference and use that as a summary. I would do this by creating a rule called something like "summarise_column", using that rule as the condition in the query_service, and then returning the answer as a string / list of strings. Let me know how you get on! |
Beta Was this translation helpful? Give feedback.
-
Hi @chiajy2000, how do I access the latest code of Knowledge Table where I can reference columns and query them at the top (https://knowledge-table-demo.whyhow.ai/) The current version on https://github.com/whyhow-ai/knowledge-table?tab=readme-ov-file does not have this feature |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am a huge fan of the Knowledge Table and I would like to understand how can I extend its functionality. I want to see how I can create another row at the end of the column and summarize all the prompts in a particular column:

Do you know which part of the code I should look at and which part do I need to change?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions