code: def test_retrievechat():
      conversations = {}
      # ChatCompletion.start_logging(conversations)  # deprecated in v0.2
  
      config_list = config_list_from_json(
          OAI_CONFIG_LIST,
          file_location=KEY_LOC,
      )
  
      assistant = RetrieveAssistantAgent(
          name="assistant",
          system_message="You are a helpful assistant.",
          llm_config={
              "timeout": 600,
              "seed": 42,
              "config_list": config_list,
          },
      )
  
      client = QdrantClient(":memory:")
      ragproxyagent = QdrantRetrieveUserProxyAgent(
          name="ragproxyagent",
          human_input_mode="NEVER",
          max_consecutive_auto_reply=2,
          retrieve_config={
              "client": client,
              "docs_path": "./website/docs",
              "chunk_token_size": 2000,
          },
      )
  
      assistant.reset()
  
      code_problem = "How can I use FLAML to perform a classification task, set use_spark=True, train 30 seconds and force cancel jobs if time limit is reached."
      ragproxyagent.initiate_chat(
          assistant, problem=code_problem, silent=True
      )
      print(conversations)
  
file_path: autogen/test/agentchat/contrib/test_qdrant_retrievechat.py
imports: import os
  import sys
  import pytest
  from autogen.agentchat.contrib.retrieve_assistant_agent import RetrieveAssistantAgent
  from autogen import config_list_from_json
  from conftest import skip_openai
  from test_assistant_agent import KEY_LOC, OAI_CONFIG_LIST
label_desc: Use image node_id 1 for calling a global function with example usage: test_retrievechat() without return types