AmazonQ#
- class langchain_aws.runnables.q_business.AmazonQ(region_name: str | None = None, credentials: Any | None = None, client: Any | None = None, application_id: str = None, parent_message_id: str | None = None, conversation_id: str | None = None, chat_mode: str = 'RETRIEVAL_MODE')[source]#
Beta
This API is in beta and can change in future.
Amazon Q Runnable wrapper.
To authenticate, the AWS client uses the following methods to automatically load credentials: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html
Make sure the credentials / roles used have the required policies to access the Amazon Q service.
- Parameters:
region_name (str | None)
credentials (Any | None)
client (Any | None)
application_id (str)
parent_message_id (str | None)
conversation_id (str | None)
chat_mode (str)
Note
AmazonQ implements the standard Runnable Interface
. 🏃
The
Runnable Interface
has additional methods that are available on runnables, such aswith_types
,with_retry
,assign
,bind
,get_graph
, and more.
Attributes
Methods
|
Initialize self. |