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
transform_input
(prompt,Β model_kwargs)transform_output
(response)