Ai hostadapter sample