@@ -110,7 +110,7 @@ public final Response textResource(@Context final HttpServletRequest request,
110110 @ Consumes (MediaType .APPLICATION_JSON )
111111 public final Response embed (@ Context final HttpServletRequest request ,
112112 @ Context final HttpServletResponse response ,
113- @ RequestBody (description = "JSON Response containing time to embeddings, total to embed and index name " ,
113+ @ RequestBody (description = "Embeddings form containing query, limit, offset, indexName, model, velocityTemplate, and fields " ,
114114 required = true ,
115115 content = @ Content (schema = @ Schema (implementation = EmbeddingsForm .class )))
116116 final EmbeddingsForm embeddingsForm ) {
@@ -186,7 +186,7 @@ public final Response embed(@Context final HttpServletRequest request,
186186 @ Consumes (MediaType .APPLICATION_JSON )
187187 public final Response delete (@ Context final HttpServletRequest request ,
188188 @ Context final HttpServletResponse response ,
189- @ RequestBody (description = "JSON object containing deleted key " ,
189+ @ RequestBody (description = "JSON object containing deletion criteria such as query, identifier, inode, or content type " ,
190190 required = true ,
191191 content = @ Content (schema = @ Schema (type = "object" , description = "Deletion criteria including query, identifier, inode, or content type" )))
192192 final JSONObject json ) {
@@ -244,7 +244,7 @@ public final Response delete(@Context final HttpServletRequest request,
244244 @ Consumes (MediaType .APPLICATION_JSON )
245245 public final Response dropAndRecreateTables (@ Context final HttpServletRequest request ,
246246 @ Context final HttpServletResponse response ,
247- @ RequestBody (description = "JSON object with created boolean key " ,
247+ @ RequestBody (description = "Empty JSON object to trigger table recreation " ,
248248 required = true ,
249249 content = @ Content (schema = @ Schema (type = "object" , description = "Empty JSON object for triggering table recreation" )))
250250 final JSONObject json ) {
@@ -345,7 +345,7 @@ public final Response count(@Context final HttpServletRequest request,
345345 @ Consumes (MediaType .APPLICATION_JSON )
346346 public final Response count (@ Context final HttpServletRequest request ,
347347 @ Context final HttpServletResponse response ,
348- @ RequestBody (description = "JSON Object containing embeddingsCount key " ,
348+ @ RequestBody (description = "Completion form containing search criteria for counting embeddings " ,
349349 required = false ,
350350 content = @ Content (schema = @ Schema (implementation = CompletionsForm .class )))
351351 final CompletionsForm form ) {
0 commit comments