Emulated multi-function calls within one request

Since the API change to call multiple function calls https://platform.openai.com/docs/guides/function-calling, this thread is marked as solved.