langchain_community.llms.amazon_api_gateway.ContentHandlerAmazonAPIGateway¶
- class langchain_community.llms.amazon_api_gateway.ContentHandlerAmazonAPIGateway[source]¶
Adapter to prepare the inputs from Langchain to a format that LLM model expects.
It also provides helper function to extract the generated text from the model response.
Methods
__init__()transform_input(prompt, model_kwargs)transform_output(response)- __init__()¶