#Help with QdrantRetrieveUserProxyAgent as one of the agent in GroupChat!

2 messages · Page 1 of 1 (latest)

cedar bay
#

Hi folks, I facing an issue with QdrantRetrieveUserProxyAgent with GroupChat. the ask_agent is the QdrantRetrieveUserProxyAgent as shown in the image.

ask_agent = QdrantRetrieveUserProxyAgent(
    name="ask_agent",
    human_input_mode="NEVER",
    max_consecutive_auto_reply=50,
    system_message="You are useful retrieval agent. You have access to an existing database from where you can lookup infromation on user queries",
    retrieve_config={
        "task": "code",
        # "docs_path": "./path/to/docs",
        # "chunk_token_size": 2000,
        "collection_name": "companies",
        "model": gpt_35_turbo_1106_config['model'],
        "client": QdrantClient("localhost", port=6333),
        "embedding_model": "openai/text-embedding-ada-002",
    },
)

web_search_agent = AssistantAgent(
    name="web_search_agent",
    system_message="Your job is to search information when planner_agent as you for specific information when ask_agent is not able to retrieve the information. Search over the internet and provide that to planner_agent",
    llm_config=gpt_35_turbo_1106_config,
)

group_chat = GroupChat(agents=[user_proxy_agent, ask_agent, web_search_agent], 
                       messages=[], 
                       max_round=12)
tired vigil
#

Could you create an issue on GitHub and mention @Anush008 ? I don't know if he's on discord.