| OpenAIProcessor | R Documentation |
OpenAI API Processor
OpenAI API Processor
Concrete implementation of BaseAPIProcessor for OpenAI models. Handles OpenAI-specific API calls, authentication, and response parsing.
mLLMCelltype::BaseAPIProcessor -> OpenAIProcessor
new()Initialize OpenAI processor
OpenAIProcessor$new(base_url = NULL)
get_default_api_url()Get default OpenAI API URL
OpenAIProcessor$get_default_api_url()
make_api_call()Make API call to OpenAI
OpenAIProcessor$make_api_call(chunk_content, model, api_key)
extract_response_content()Extract response content from OpenAI API response
OpenAIProcessor$extract_response_content(response, model)
clone()The objects of this class are cloneable with this method.
OpenAIProcessor$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.