JS APIping( )Sends a ping request to the server and returns the pong response.latest (v0.8.0)llms-full.txtOpenfunction ping(): Promise Returns Promise Throws ErrorWhenWhen the response type is not "pong".ocr( )Performs Optical Character Recognition (OCR) on an image to extract text.ragChunk( )Chunks documents into smaller pieces for embedding. Part of the segregated flow: ragChunk() → embed() → ragSaveEmbeddings()