Class LemurClient
- java.lang.Object
-
- com.assemblyai.api.resources.lemur.LemurClient
-
public class LemurClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description LemurClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LemurActionItemsResponseactionItems()Use LeMUR to generate a list of action items from a transcriptLemurActionItemsResponseactionItems(LemurActionItemsParams request)Use LeMUR to generate a list of action items from a transcriptLemurActionItemsResponseactionItems(LemurActionItemsParams request, RequestOptions requestOptions)Use LeMUR to generate a list of action items from a transcriptPurgeLemurRequestDataResponsepurgeRequestData(java.lang.String requestId)Delete the data for a previously submitted LeMUR request.PurgeLemurRequestDataResponsepurgeRequestData(java.lang.String requestId, RequestOptions requestOptions)Delete the data for a previously submitted LeMUR request.LemurQuestionAnswerResponsequestionAnswer(LemurQuestionAnswerParams request)Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts.LemurQuestionAnswerResponsequestionAnswer(LemurQuestionAnswerParams request, RequestOptions requestOptions)Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts.LemurSummaryResponsesummary()Custom Summary allows you to distill a piece of audio into a few impactful sentences.LemurSummaryResponsesummary(LemurSummaryParams request)Custom Summary allows you to distill a piece of audio into a few impactful sentences.LemurSummaryResponsesummary(LemurSummaryParams request, RequestOptions requestOptions)Custom Summary allows you to distill a piece of audio into a few impactful sentences.LemurTaskResponsetask(LemurTaskParams request)Use the LeMUR task endpoint to input your own LLM prompt.LemurTaskResponsetask(LemurTaskParams request, RequestOptions requestOptions)Use the LeMUR task endpoint to input your own LLM prompt.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
LemurClient
public LemurClient(ClientOptions clientOptions)
-
-
Method Detail
-
task
public LemurTaskResponse task(LemurTaskParams request)
Use the LeMUR task endpoint to input your own LLM prompt.
-
task
public LemurTaskResponse task(LemurTaskParams request, RequestOptions requestOptions)
Use the LeMUR task endpoint to input your own LLM prompt.
-
summary
public LemurSummaryResponse summary()
Custom Summary allows you to distill a piece of audio into a few impactful sentences. You can give the model context to obtain more targeted results while outputting the results in a variety of formats described in human language.
-
summary
public LemurSummaryResponse summary(LemurSummaryParams request)
Custom Summary allows you to distill a piece of audio into a few impactful sentences. You can give the model context to obtain more targeted results while outputting the results in a variety of formats described in human language.
-
summary
public LemurSummaryResponse summary(LemurSummaryParams request, RequestOptions requestOptions)
Custom Summary allows you to distill a piece of audio into a few impactful sentences. You can give the model context to obtain more targeted results while outputting the results in a variety of formats described in human language.
-
questionAnswer
public LemurQuestionAnswerResponse questionAnswer(LemurQuestionAnswerParams request)
Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts. The questions can be any whose answers you find useful, such as judging whether a caller is likely to become a customer or whether all items on a meeting's agenda were covered.
-
questionAnswer
public LemurQuestionAnswerResponse questionAnswer(LemurQuestionAnswerParams request, RequestOptions requestOptions)
Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts. The questions can be any whose answers you find useful, such as judging whether a caller is likely to become a customer or whether all items on a meeting's agenda were covered.
-
actionItems
public LemurActionItemsResponse actionItems()
Use LeMUR to generate a list of action items from a transcript
-
actionItems
public LemurActionItemsResponse actionItems(LemurActionItemsParams request)
Use LeMUR to generate a list of action items from a transcript
-
actionItems
public LemurActionItemsResponse actionItems(LemurActionItemsParams request, RequestOptions requestOptions)
Use LeMUR to generate a list of action items from a transcript
-
purgeRequestData
public PurgeLemurRequestDataResponse purgeRequestData(java.lang.String requestId)
Delete the data for a previously submitted LeMUR request. The LLM response data, as well as any context provided in the original request will be removed.
-
purgeRequestData
public PurgeLemurRequestDataResponse purgeRequestData(java.lang.String requestId, RequestOptions requestOptions)
Delete the data for a previously submitted LeMUR request. The LLM response data, as well as any context provided in the original request will be removed.
-
-