- Newest
- Most votes
- Most comments
Currently, the Amazon Bedrock ingestion job APIs do not provide direct access to the additional vector metrics you're looking for, such as learned vectors, precise vector counts, or detailed token usage information. The IngestionJobStatistics object you mentioned contains basic information about the ingestion process, but it doesn't include the more granular vector-specific metrics you're interested in.
However, there are alternative ways to monitor and collect insights on the vector embedding process in Amazon Bedrock:
-
CloudWatch Metrics: Amazon Bedrock integrates with CloudWatch, allowing you to monitor various aspects of your Bedrock operations. For vector embeddings specifically, there are two relevant metrics:
- BedrockTitanEmbeddingTokenCount: This metric monitors the number of tokens present in a single request to Bedrock for embedding generation.
- BedrockEmbeddingGenerationLatencyMs: This metric reports the time taken to send and receive a response from Bedrock for generating embeddings, measured in milliseconds.
These metrics can provide some insight into the performance and usage of the embedding process, though they may not give you the exact vector counts or learned vector details you're seeking.
-
CloudWatch Logs: You can use CloudWatch Logs to monitor various aspects of Bedrock, including model invocations, knowledge bases, and Amazon Bedrock Guardrails. While this might not give you direct vector metrics, it could provide additional context and information about your ingestion jobs.
-
Custom Logging: Depending on your implementation, you might be able to add custom logging or tracking within your application to capture more detailed information about the documents being processed and the resulting embeddings.
As for future plans to extend the API to include more detailed vector statistics, Amazon continuously evolves its services based on customer feedback and needs. While there's no public information available about specific plans to add these metrics to the ingestion job APIs, it's always a good idea to keep an eye on AWS announcements and documentation for updates.
In the meantime, if these metrics are crucial for your use case, you might want to consider reaching out to AWS support or your account representative to discuss your specific needs and potentially influence future feature development.
Sources
Monitor the health and performance of Amazon Bedrock - Amazon Bedrock
Logging and observability - Amazon Managed Streaming for Apache Kafka
answered 2 years ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
