def _chunk_docs(self, docs, chunk_size):
        """
        chunk docs to fit into context of your LLM
        :param docs:
        :param chunk_size:
        :return:
        """
        for i in range(0, len(docs), chunk_size):
            yield docs[i : i + chunk_size]  # Yield the current chunk

        chunk docs to fit into context of your LLM
        :param docs:
        :param chunk_size:
        :return:
        
backend/director/agents/prompt_clip.py