knowledge augmented generation python