Properties to create the HTTP LLM application instance
Swagger/OpenAPI document.
Target LLM model.
Optional
options?: Partial<IOptions<"chatgpt">>Options for the LLM function calling schema composition.
Validation result of the HTTP LLM application composition
Create an HTTP LLM application instance.
Create an IHttpLlmApplication instance which represents the LLM (Large Language Model) function calling application schema from the given Swagger/OpenAPI document and the target LLM model.
By the way, even though this
createHttpLlmApplication
function supports every version of Swagger/OpenAPI specification, there can be a type error in the given document. In that case, the function will return IValidation.IFailure instance with detailed type error tracing information.Author
Samchon