HttpTarget
class to interact with any HTTP-based LLM API endpoint.
HttpTarget
class requires a few essential parameters to work:
url
: The endpoint URL for the LLM APIheaders
: HTTP headers to include in requestspayload_config
: Configuration for request payload formattingconcatenate_field
: Path to extract the response content from the JSON responseTokenConfig
: