This is a simple knowledge base module to demo how to use embeddings.
naptha create kb:embedding_kb
naptha run kb:embedding_kb -p "function_name='init'"
naptha run kb:embedding_kb -p '{
"function_name": "add_data",
"function_input_data": {"path": "data/aiayn.pdf"}
}'
naptha run kb:embedding_kb -p '{
"function_name": "run_query",
"function_input_data": {
"query": "what is attention?"
}
}'