A-model and B-model is study of twisted conformal field theory
If you want to study the invariants of complex manifolds , then you will face with two notion due to Edward Witten philosophy
A) Closed string B-model which is study of Hodge structure or periods of holomorphic differential forms
B-model on Calabi-Yau three-fold can be described by a Kodaira-Spencer gauge theory(due to Bershadsky-Cecotti-Ooguri-Vafa). sometimes called BCOV theory.
B) Open string B-model is study of Category of coherent sheaves on complex manifold(for example complex submanifolds equiped with holomorphic vector bundles)
If you want to study the invariants of symplectic manifolds, then we are facing with two object
A) Closed string A-model , which is study of Gromov-Witten invariants about counting holomorphic curves
B)Open string A-model which is Fukaya category (object is lagrangian submanifolds and morphisms is Floer chain )which corresponding to the Calabi–Yau category
From homological mirror symmetry point of view (due to M. Kontsevich conjecture), the A-model is dual to the B-model. $$D^\pi\mathcal F(M)\cong D^b Coh(M)$$
For your question see
M. Alexandrov, M. Kontsevich, A. Schwarz, O. Zaboronsky, around page 19 in The geometry of the master equation and topological quantum field theory, Int. J. Modern Phys. A 12(7):1405–1429, 1997
and this thesis