MCPcopy Create free account
hub / github.com/SalesforceAIResearch/perfcodegen / delete_batch

Method delete_batch

src/model.py:104–114  ·  view source on GitHub ↗
(self, batch_id)

Source from the content-addressed store, hash-verified

102 return response
103
104 def delete_batch(self, batch_id):
105 response = self.client.batches.retrieve(batch_id)
106 if response.input_file_id != None:
107 r = self.client.files.delete(response.input_file_id )
108 print(r)
109 if response.error_file_id != None:
110 r = self.client.files.delete(response.error_file_id)
111 print(r)
112 if response.output_file_id != None:
113 r = self.client.files.delete(response.output_file_id)
114 print(r)
115
116
117 def build_messages(self, prompt):

Callers 1

delete_batchFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected