Retail Media / Advertising Technology

/

Photozig

Retail Media / Advertising Technology

Building an AI-Powered Conversational Interface for Retail Media Campaign Insights

4 Weeks

From discovery to a working chat command inside PepBlast

5

Quality criteria every answer is scored on, led by accuracy

Zero

New infrastructure needed, built on PepBlast’s existing command interface

Client

Photozig

Location

California, US

Industry

Retail Media / Advertising Technology

Services & Tech

Amazon Bedrock, Amazon Bedrock Knowledge Bases, Amazon S3 Vectors, Bedrock AgentCore Memory, Amazon S3, Amazon EC2 (T3 Auto Scaling Group), Amazon DynamoDB

Project Overview

Photozig operates PepBlast, a retail-media platform that helps retail chains and advertisers manage in-store promotional video content. The company sought to enhance its platform with a self-service, AI-powered conversational chatbot that would allow users to query campaign and sales-performance data through natural language. Avahi delivered a working Chat command with multi-turn conversation support, a configured knowledge base with ingested document sources, and chat surface integration, all built on Amazon Bedrock and designed to integrate with PepBlast’s existing command-interface architecture. The solution enables Photozig to evaluate AI-driven self-service capabilities and make informed decisions about future platform investment.

About The Customer

Photozig operates PepBlast, a retail-media platform serving retail chains and advertisers for managing in-store promotional video content. The platform is deployed on AWS using a T3 EC2 auto-scaling-group pattern to orchestrate a Python command-interface backend, DynamoDB-backed data systems, and an S3-based document store. Photozig serves the retail media industry, helping brands and retailers coordinate and optimize their in-store advertising campaigns.

The Problem

Photozig’s users needed a more intuitive way to access campaign and sales-performance information stored across their platform. The existing system required users to navigate through traditional interfaces to find the data they needed, creating friction in the user experience and limiting self-service capabilities.

The company wanted to evaluate whether a conversational AI interface could provide users with immediate, natural-language access to their campaign data. This required building a retrieval-augmented generation (RAG) solution that could understand user queries, retrieve relevant information from document stores, and maintain context across multi-turn conversations. The solution also needed to respect role and company-based access controls to ensure users only received information they were authorized to see.

Without addressing this challenge, Photozig risked falling behind competitors offering more modern, AI-driven user experiences, and would continue to see users struggle with accessing the insights they needed to optimize their advertising campaigns.

Why AWS?

AWS provided the managed services necessary to build a production-ready conversational AI solution without the overhead of maintaining custom infrastructure. Amazon Bedrock offered the foundation model capabilities and native knowledge base functionality needed for RAG-based retrieval, while Bedrock AgentCore Memory provided session-scoped conversation history without requiring custom memory management. The S3 Vectors store enabled managed vector storage for document embeddings, eliminating the need to stand up and maintain a self-hosted vector database. These services integrated naturally with Photozig’s existing AWS infrastructure, including their T3 EC2 auto-scaling-group pattern and S3-based document storage.

Why Photozig Chose Avahi

Avahi brought the technical expertise needed to design and implement a RAG-based conversational AI solution that would integrate with Photozig’s existing command-interface architecture. The engagement required deep knowledge of Amazon Bedrock’s knowledge base capabilities, including chunking strategies, metadata filtering, and custom prompt assembly for grounded response generation. Avahi’s team could navigate the technical complexities of integrating session-scoped memory with RAG retrieval while respecting Photozig’s established architectural patterns and interface contracts.

Solution

Avahi delivered a four-week engagement structured across three phases: Discovery and Interface Alignment, Core Chat Command Development, and Chat Surface Integration with Testing and Sign-off.

Phase 1: Discovery and Interface Alignment

The engagement began with confirming Photozig’s Python command-interface contract, including payload schema and response format, to ensure the new Chat command would integrate with the existing PepBlast architecture. The team reviewed the S3 bucket structure and file inventory to understand the document types (PDF reports, CSV, markdown, and text files) that would feed the knowledge base. A Standard Bedrock Knowledge Base was configured with S3 Vectors store, establishing data sources, chunking strategy, and a metadata schema supporting role and company-based scoping. A validation spike tested hierarchical chunking against a representative PDF to confirm parent/child chunk sizes stayed within S3 Vectors metadata limits. An AI-response-quality rubric was presented and approved, establishing scoring criteria across Accuracy (40%), Groundedness (25%), Completeness (15%), Scope (10%), and Clarity (10%), with a pass threshold of 3.5 out of 5.

Phase 2: Core Chat Command Development

The team provisioned the Bedrock Knowledge Base and S3 Vectors index, running the initial full ingestion sync against the staged S3 bucket. The Chat command was implemented to validate inbound JSON payloads for session information, role, and company identifiers, then retrieve conversation history from Bedrock AgentCore Memory. RAG context retrieval used the Retrieve API (rather than RetrieveAndGenerate) to query the knowledge base, combining the current question with session history to resolve follow-up references. Metadata filtering scoped results to the caller’s role and company.

Custom prompt assembly was required because RetrieveAndGenerate’s native session mechanism does not integrate with AgentCore Memory. The implementation assembled retrieved chunks, session conversation history, and the user question into a prompt before calling Amazon Bedrock for grounded response generation. Each question/response pair was written to AgentCore Memory for use in subsequent conversation turns. Data quality checks validated completeness, consistency, and format conformance for ingested documents, while rate limiting and graceful degradation safeguards ensured stable retrieval under load.

Phase 3: Chat Surface Integration, Testing, and Sign-off

The Chat command was integrated into Photozig’s existing chat UI component. Responses were scored against the approved rubric using sample and synthetic data, with role and company-scoped context retrieval validated for one representative role and company. A live sandbox demo walkthrough was conducted with Photozig’s founder and technical lead, including multi-turn follow-up sequences against sample data. The engagement concluded with documentation of the command-interface implementation and rubric results, followed by a knowledge transfer session covering the Chat command architecture, Knowledge Base configuration, and scoring results.

Key Deliverables

  • Working Chat command implementing multi-turn, RAG-grounded conversational inference through Photozig’s existing command-interface contract
  • Configured Bedrock Knowledge Base with S3 Vectors store, supporting PDF reports and user-provided CSV, markdown, and text files
  • Metadata schema enabling role and company-based access scoping for retrieved content
  • Session-scoped memory integration via Bedrock AgentCore Memory for multi-turn conversation context
  • Chat surface integration into Photozig’s existing chat UI component
  • Approved AI-response-quality rubric with documented initial scoring results
  • Data quality checks and vector store reliability safeguards (rate limiting, graceful degradation)
  • Final documentation of command-interface implementation and rubric results
  • Knowledge transfer session for Photozig’s technical team

Project Impact

The engagement delivered a functional conversational AI capability that enables Photozig to evaluate self-service, natural-language access to campaign and sales-performance data. The solution integrates with PepBlast’s existing architecture without requiring new autoscaling infrastructure or changes to the established command-interface pattern.

The completed sandbox demo and documented rubric results provide Photozig’s leadership with the evidence needed to make a Go/No-Go decision on future platform investment in AI-powered conversational capabilities. The knowledge transfer ensures Photozig’s team can maintain and extend the solution, with mergeable command code ready for their team to move to production.

Metrics

Your migration, without the risk

Moving off Azure — or planning your own enterprise AI migration?

Avahi takes enterprises from idea to production on AWS in weeks, not months — with validated parity and zero-downtime cutovers. Let’s scope yours.

Building an AI-Powered Conversational Interface for Retail Media Campaign Insights

Client

Photozig

Location

California, US

Industry

Retail Media / Advertising Technology

Services & Tech

Amazon Bedrock, Amazon Bedrock Knowledge Bases, Amazon S3 Vectors, Bedrock AgentCore Memory, Amazon S3, Amazon EC2 (T3 Auto Scaling Group), Amazon DynamoDB

Project Overview

Photozig operates PepBlast, a retail-media platform that helps retail chains and advertisers manage in-store promotional video content. The company sought to enhance its platform with a self-service, AI-powered conversational chatbot that would allow users to query campaign and sales-performance data through natural language. Avahi delivered a working Chat command with multi-turn conversation support, a configured knowledge base with ingested document sources, and chat surface integration, all built on Amazon Bedrock and designed to integrate with PepBlast’s existing command-interface architecture. The solution enables Photozig to evaluate AI-driven self-service capabilities and make informed decisions about future platform investment.

About The
 Customer

Photozig operates PepBlast, a retail-media platform serving retail chains and advertisers for managing in-store promotional video content. The platform is deployed on AWS using a T3 EC2 auto-scaling-group pattern to orchestrate a Python command-interface backend, DynamoDB-backed data systems, and an S3-based document store. Photozig serves the retail media industry, helping brands and retailers coordinate and optimize their in-store advertising campaigns.

The 
Problem

Photozig’s users needed a more intuitive way to access campaign and sales-performance information stored across their platform. The existing system required users to navigate through traditional interfaces to find the data they needed, creating friction in the user experience and limiting self-service capabilities.

The company wanted to evaluate whether a conversational AI interface could provide users with immediate, natural-language access to their campaign data. This required building a retrieval-augmented generation (RAG) solution that could understand user queries, retrieve relevant information from document stores, and maintain context across multi-turn conversations. The solution also needed to respect role and company-based access controls to ensure users only received information they were authorized to see.

Without addressing this challenge, Photozig risked falling behind competitors offering more modern, AI-driven user experiences, and would continue to see users struggle with accessing the insights they needed to optimize their advertising campaigns.

Why AWS

AWS provided the managed services necessary to build a production-ready conversational AI solution without the overhead of maintaining custom infrastructure. Amazon Bedrock offered the foundation model capabilities and native knowledge base functionality needed for RAG-based retrieval, while Bedrock AgentCore Memory provided session-scoped conversation history without requiring custom memory management. The S3 Vectors store enabled managed vector storage for document embeddings, eliminating the need to stand up and maintain a self-hosted vector database. These services integrated naturally with Photozig’s existing AWS infrastructure, including their T3 EC2 auto-scaling-group pattern and S3-based document storage.

Why Photozig Chose Avahi

Avahi brought the technical expertise needed to design and implement a RAG-based conversational AI solution that would integrate with Photozig’s existing command-interface architecture. The engagement required deep knowledge of Amazon Bedrock’s knowledge base capabilities, including chunking strategies, metadata filtering, and custom prompt assembly for grounded response generation. Avahi’s team could navigate the technical complexities of integrating session-scoped memory with RAG retrieval while respecting Photozig’s established architectural patterns and interface contracts.

Solution

Avahi delivered a four-week engagement structured across three phases: Discovery and Interface Alignment, Core Chat Command Development, and Chat Surface Integration with Testing and Sign-off.

Phase 1: Discovery and Interface Alignment

The engagement began with confirming Photozig’s Python command-interface contract, including payload schema and response format, to ensure the new Chat command would integrate with the existing PepBlast architecture. The team reviewed the S3 bucket structure and file inventory to understand the document types (PDF reports, CSV, markdown, and text files) that would feed the knowledge base. A Standard Bedrock Knowledge Base was configured with S3 Vectors store, establishing data sources, chunking strategy, and a metadata schema supporting role and company-based scoping. A validation spike tested hierarchical chunking against a representative PDF to confirm parent/child chunk sizes stayed within S3 Vectors metadata limits. An AI-response-quality rubric was presented and approved, establishing scoring criteria across Accuracy (40%), Groundedness (25%), Completeness (15%), Scope (10%), and Clarity (10%), with a pass threshold of 3.5 out of 5.

Phase 2: Core Chat Command Development

The team provisioned the Bedrock Knowledge Base and S3 Vectors index, running the initial full ingestion sync against the staged S3 bucket. The Chat command was implemented to validate inbound JSON payloads for session information, role, and company identifiers, then retrieve conversation history from Bedrock AgentCore Memory. RAG context retrieval used the Retrieve API (rather than RetrieveAndGenerate) to query the knowledge base, combining the current question with session history to resolve follow-up references. Metadata filtering scoped results to the caller’s role and company.

Custom prompt assembly was required because RetrieveAndGenerate’s native session mechanism does not integrate with AgentCore Memory. The implementation assembled retrieved chunks, session conversation history, and the user question into a prompt before calling Amazon Bedrock for grounded response generation. Each question/response pair was written to AgentCore Memory for use in subsequent conversation turns. Data quality checks validated completeness, consistency, and format conformance for ingested documents, while rate limiting and graceful degradation safeguards ensured stable retrieval under load.

Phase 3: Chat Surface Integration, Testing, and Sign-off

The Chat command was integrated into Photozig’s existing chat UI component. Responses were scored against the approved rubric using sample and synthetic data, with role and company-scoped context retrieval validated for one representative role and company. A live sandbox demo walkthrough was conducted with Photozig’s founder and technical lead, including multi-turn follow-up sequences against sample data. The engagement concluded with documentation of the command-interface implementation and rubric results, followed by a knowledge transfer session covering the Chat command architecture, Knowledge Base configuration, and scoring results.

Key Deliverables

  • Working Chat command implementing multi-turn, RAG-grounded conversational inference through Photozig’s existing command-interface contract
  • Configured Bedrock Knowledge Base with S3 Vectors store, supporting PDF reports and user-provided CSV, markdown, and text files
  • Metadata schema enabling role and company-based access scoping for retrieved content
  • Session-scoped memory integration via Bedrock AgentCore Memory for multi-turn conversation context
  • Chat surface integration into Photozig’s existing chat UI component
  • Approved AI-response-quality rubric with documented initial scoring results
  • Data quality checks and vector store reliability safeguards (rate limiting, graceful degradation)
  • Final documentation of command-interface implementation and rubric results
  • Knowledge transfer session for Photozig’s technical team

Project
 Impact

The engagement delivered a functional conversational AI capability that enables Photozig to evaluate self-service, natural-language access to campaign and sales-performance data. The solution integrates with PepBlast’s existing architecture without requiring new autoscaling infrastructure or changes to the established command-interface pattern.

The completed sandbox demo and documented rubric results provide Photozig’s leadership with the evidence needed to make a Go/No-Go decision on future platform investment in AI-powered conversational capabilities. The knowledge transfer ensures Photozig’s team can maintain and extend the solution, with mergeable command code ready for their team to move to production.

Ready to Transform Your Business with AI?

Let’s explore your high-impact AI opportunities together in a complimentary session