langtest.modelhandler.lmstudio_modelhandler#

Functions

chat_completion_api(text, url, ...)

Send a user text message to a chat completion API and receive the model's response.

Classes

PretrainedModel(model[, output_parser])

Abstract base class for a custom pretrained model.

PretrainedModelForClinical(model[, ...])

A class representing a pretrained model for clinical.

PretrainedModelForDisinformation(model[, ...])

A class representing a pretrained model for disinformation. Inherits: PretrainedModel: The base class for pretrained models.

PretrainedModelForFactuality(model[, ...])

A class representing a pretrained model for factuality detection.

PretrainedModelForIdeology(model[, ...])

A class representing a pretrained model for ideology.

PretrainedModelForLegal(model[, output_parser])

A class representing a pretrained model for legal.

PretrainedModelForNER(model[, output_parser])

A class representing a pretrained model for named entity recognition.

PretrainedModelForQA(model[, output_parser])

A class for handling a pre-trained model for question answering.

PretrainedModelForSecurity(model[, ...])

A class representing a pretrained model for security detection.

PretrainedModelForSensitivity(model, *args, ...)

PretrainedModelForSummarization(model[, ...])

A class representing a pretrained model for summarization.

PretrainedModelForSycophancy(model[, ...])

A class representing a pretrained model for sycophancy.

PretrainedModelForToxicity(model[, ...])

A class representing a pretrained model for toxicity detection.

PretrainedModelForWinoBias(model[, ...])

A class representing a pretrained model for wino-bias detection.