Use chatbot with search API

hi there.
in the APIs i have used the chatbot implementation to create a chatbot AND i have also used the search APIs for document based semantic search, but individually.

is it possible that we can combine the two. so what i would like is to use the chatbot but then it also get data from search by understanding what the user is asking for?

how could one develop a fork like this?

any idea/ pointers/ sample code will be most helpful.

Yes, you could use the Answers endpoint as a replacement for the Shared Database in my design called Natural Language Cognitive Architecture David K Shapiro - NLCA

where is the design? is it in your book?