The current API returns in most cases just JSON as string which is not useful if we want to have any way to modify the response, e.g., to replace URLs to sources for RAG. Also, the requests are also just JSON objects which makes it error-prone to implement RAG. Instead, Jackson should be used to parse to and serialize from proper Java objects. |