Fix log_line search granularity. Docs. Tests.
Add chat API. Docs. Tests.