Documentation Index
Fetch the complete documentation index at: https://docs.pixeltable.com/llms.txt
Use this file to discover all available pages before exploring further.
module pixeltable.functions.bedrock
Pixeltable UDFs for AWS Bedrock AI models. Provides integration with AWS Bedrock for accessing various foundation models including Anthropic Claude, Amazon Titan, and other providers.func invoke_tools()
Signature
tools._invoke().
udf converse()
Signature
converse API endpoint.
For additional details, see:
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/converse.html
Requirements:
pip install boto3
messages(pxt.Json): Input messages.model_id(pxt.String): The model that will complete your prompt.system(pxt.Json | None): An optional system prompt.inference_config(pxt.Json | None): Base inference parameters to use.additional_model_request_fields(pxt.Json | None): Additional inference parameters to use.
pxt.Json: A dictionary containing the response and other metadata.
anthropic.claude-3-haiku-20240307-v1:0 to an existing Pixeltable column tbl.prompt of the table tbl: