We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9861278 commit b95426fCopy full SHA for b95426f
openlayer/llm_monitors.py
@@ -316,8 +316,9 @@ def _handle_data_publishing(self) -> None:
316
If `publish` is set to True, publish the latest row to Openlayer.
317
"""
318
if self.publish:
319
- self.inference_pipeline.publish_batch_data(
320
- batch_df=self.df.tail(1), batch_config=self.data_config
+ self.inference_pipeline.stream_data(
+ stream_data=self.df.tail(1).to_dict(orient="records"),
321
+ stream_config=self.data_config,
322
)
323
324
def start_monitoring(self) -> None:
0 commit comments