https://ollama.ai/blog/building-llm-powered-web-apps
There's also Cheshire Cat, which is a framework for building chat assistants that use a set of documents as a knowledge base:
https://github.com/cheshire-cat-ai/core