camel-ai 0.2.3__tar.gz → 0.2.3a1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/PKG-INFO +56 -27
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/README.md +48 -12
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/__init__.py +1 -1
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/chat_agent.py +69 -93
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/knowledge_graph_agent.py +6 -4
- camel_ai-0.2.3a1/camel/bots/__init__.py +20 -0
- camel_ai-0.2.3a1/camel/bots/discord_bot.py +206 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/__init__.py +2 -1
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/anthropic_config.py +5 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/base_config.py +6 -6
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/groq_config.py +3 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/ollama_config.py +2 -1
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/openai_config.py +23 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/samba_config.py +2 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/togetherai_config.py +1 -1
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/vllm_config.py +1 -1
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/zhipuai_config.py +3 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/embeddings/openai_embedding.py +2 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/loaders/__init__.py +0 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/loaders/firecrawl_reader.py +3 -3
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/loaders/unstructured_io.py +33 -35
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/messages/__init__.py +0 -1
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/__init__.py +4 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/anthropic_model.py +26 -32
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/azure_openai_model.py +36 -39
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/base_model.py +20 -31
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/gemini_model.py +29 -37
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/groq_model.py +23 -29
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/litellm_model.py +61 -44
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/mistral_model.py +29 -32
- camel_ai-0.2.3a1/camel/models/model_factory.py +134 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/nemotron_model.py +23 -33
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/ollama_model.py +47 -42
- camel_ai-0.2.3a1/camel/models/open_source_model.py +170 -0
- camel_ai-0.2.3/camel/models/openai_compatible_model.py → camel_ai-0.2.3a1/camel/models/openai_compatibility_model.py +49 -31
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/openai_model.py +29 -48
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/reka_model.py +28 -30
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/samba_model.py +177 -82
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/stub_model.py +2 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/togetherai_model.py +43 -37
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/vllm_model.py +50 -43
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/zhipuai_model.py +27 -33
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/retrievers/auto_retriever.py +10 -28
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/retrievers/vector_retriever.py +47 -58
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/societies/babyagi_playing.py +3 -6
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/societies/role_playing.py +3 -5
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/graph_storages/graph_element.py +5 -3
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/key_value_storages/json.py +1 -6
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/__init__.py +7 -20
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/base.py +3 -2
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/code_execution.py +7 -6
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/dalle_toolkit.py +6 -6
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/github_toolkit.py +10 -9
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/google_maps_toolkit.py +7 -7
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/linkedin_toolkit.py +7 -7
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/math_toolkit.py +8 -8
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_toolkit.py +5 -5
- camel_ai-0.2.3/camel/toolkits/function_tool.py → camel_ai-0.2.3a1/camel/toolkits/openai_function.py +11 -34
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/reddit_toolkit.py +7 -7
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/retrieval_toolkit.py +5 -5
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/search_toolkit.py +9 -9
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/slack_toolkit.py +11 -11
- camel_ai-0.2.3a1/camel/toolkits/twitter_toolkit.py +519 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/weather_toolkit.py +6 -6
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/types/__init__.py +1 -6
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/types/enums.py +85 -40
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/types/openai_types.py +0 -3
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/utils/__init__.py +2 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/utils/async_func.py +7 -7
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/utils/commons.py +3 -32
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/utils/token_counting.py +212 -30
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/workforce/role_playing_worker.py +1 -1
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/workforce/single_agent_worker.py +1 -1
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/workforce/task_channel.py +3 -4
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/workforce/workforce.py +4 -4
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/pyproject.toml +10 -39
- camel_ai-0.2.3/LICENSE +0 -201
- camel_ai-0.2.3/camel/bots/__init__.py +0 -34
- camel_ai-0.2.3/camel/bots/discord_app.py +0 -138
- camel_ai-0.2.3/camel/bots/slack/__init__.py +0 -30
- camel_ai-0.2.3/camel/bots/slack/models.py +0 -158
- camel_ai-0.2.3/camel/bots/slack/slack_app.py +0 -255
- camel_ai-0.2.3/camel/loaders/chunkr_reader.py +0 -163
- camel_ai-0.2.3/camel/models/model_factory.py +0 -124
- camel_ai-0.2.3/camel/toolkits/arxiv_toolkit.py +0 -155
- camel_ai-0.2.3/camel/toolkits/ask_news_toolkit.py +0 -653
- camel_ai-0.2.3/camel/toolkits/google_scholar_toolkit.py +0 -146
- camel_ai-0.2.3/camel/toolkits/twitter_toolkit.py +0 -445
- camel_ai-0.2.3/camel/toolkits/whatsapp_toolkit.py +0 -177
- camel_ai-0.2.3/camel/types/unified_model_type.py +0 -104
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/critic_agent.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/deductive_reasoner_agent.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/embodied_agent.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/role_assignment_agent.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/search_agent.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/task_agent.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/tool_agents/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/tool_agents/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/agents/tool_agents/hugging_face_tool_agent.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/bots/telegram_bot.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/gemini_config.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/litellm_config.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/mistral_config.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/configs/reka_config.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/embeddings/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/embeddings/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/embeddings/mistral_embedding.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/embeddings/sentence_transformers_embeddings.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/embeddings/vlm_embedding.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/generators.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/human.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/interpreters/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/interpreters/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/interpreters/docker_interpreter.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/interpreters/internal_python_interpreter.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/interpreters/interpreter_error.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/interpreters/ipython_interpreter.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/interpreters/subprocess_interpreter.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/loaders/base_io.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/loaders/jina_url_reader.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/memories/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/memories/agent_memories.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/memories/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/memories/blocks/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/memories/blocks/chat_history_block.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/memories/blocks/vectordb_block.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/memories/context_creators/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/memories/context_creators/score_based.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/memories/records.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/messages/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/messages/func_message.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/models/openai_audio_models.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/ai_society.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/code.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/evaluation.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/generate_text_embedding_data.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/image_craft.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/misalignment.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/multi_condition_image_craft.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/object_recognition.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/prompt_templates.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/role_description_prompt_template.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/solution_extraction.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/task_prompt_template.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/translation.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/prompts/video_description_prompt.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/responses/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/responses/agent_responses.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/retrievers/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/retrievers/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/retrievers/bm25_retriever.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/retrievers/cohere_rerank_retriever.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/societies/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/graph_storages/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/graph_storages/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/graph_storages/nebula_graph.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/graph_storages/neo4j_graph.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/key_value_storages/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/key_value_storages/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/key_value_storages/in_memory.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/key_value_storages/redis.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/object_storages/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/object_storages/amazon_s3.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/object_storages/azure_blob.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/object_storages/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/object_storages/google_cloud.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/vectordb_storages/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/vectordb_storages/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/vectordb_storages/milvus.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/storages/vectordb_storages/qdrant.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/tasks/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/tasks/task.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/tasks/task_prompt.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/terminators/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/terminators/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/terminators/response_terminator.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/terminators/token_limit_terminator.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/biztoc/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/biztoc/ai-plugin.json +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/biztoc/openapi.yaml +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/coursera/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/coursera/openapi.yaml +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/create_qr_code/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/create_qr_code/openapi.yaml +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/klarna/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/klarna/openapi.yaml +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/nasa_apod/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/nasa_apod/openapi.yaml +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/outschool/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/outschool/ai-plugin.json +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/outschool/openapi.yaml +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/outschool/paths/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/outschool/paths/get_classes.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/security_config.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/speak/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/speak/openapi.yaml +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/web_scraper/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/web_scraper/ai-plugin.json +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/web_scraper/openapi.yaml +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/utils/constants.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/workforce/__init__.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/workforce/base.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/workforce/prompts.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/workforce/utils.py +0 -0
- {camel_ai-0.2.3 → camel_ai-0.2.3a1}/camel/workforce/worker.py +0 -0
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: camel-ai
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3a1
|
|
4
4
|
Summary: Communicative Agents for AI Society Study
|
|
5
5
|
Home-page: https://www.camel-ai.org/
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Keywords: communicative-ai,ai-societies,artificial-intelligence,deep-learning,multi-agent-systems,cooperative-ai,natural-language-processing,large-language-models
|
|
8
8
|
Author: CAMEL-AI.org
|
|
9
|
-
Requires-Python: >=3.10,<3.
|
|
9
|
+
Requires-Python: >=3.10.0,<3.12
|
|
10
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
15
14
|
Provides-Extra: all
|
|
16
15
|
Provides-Extra: encoders
|
|
17
16
|
Provides-Extra: graph-storages
|
|
@@ -28,10 +27,7 @@ Provides-Extra: vector-databases
|
|
|
28
27
|
Requires-Dist: PyMuPDF (>=1.22.5,<2.0.0) ; extra == "tools" or extra == "all"
|
|
29
28
|
Requires-Dist: accelerate (>=0,<1) ; extra == "huggingface-agent" or extra == "all"
|
|
30
29
|
Requires-Dist: agentops (>=0.3.6,<0.4.0) ; extra == "tools" or extra == "all"
|
|
31
|
-
Requires-Dist: anthropic (>=0.29.0,<0.30.0)
|
|
32
|
-
Requires-Dist: arxiv (>=2.1.3,<3.0.0) ; extra == "tools" or extra == "all"
|
|
33
|
-
Requires-Dist: arxiv2text (>=0.1.14,<0.2.0) ; extra == "tools" or extra == "all"
|
|
34
|
-
Requires-Dist: asknews (>=0.7.43,<0.8.0) ; extra == "tools" or extra == "all"
|
|
30
|
+
Requires-Dist: anthropic (>=0.29.0,<0.30.0)
|
|
35
31
|
Requires-Dist: azure-storage-blob (>=12.21.0,<13.0.0) ; extra == "object-storages" or extra == "all"
|
|
36
32
|
Requires-Dist: beautifulsoup4 (>=4,<5) ; extra == "tools" or extra == "all"
|
|
37
33
|
Requires-Dist: botocore (>=1.35.3,<2.0.0) ; extra == "object-storages" or extra == "all"
|
|
@@ -50,12 +46,13 @@ Requires-Dist: firecrawl-py (>=1.0.0,<2.0.0) ; extra == "tools" or extra == "all
|
|
|
50
46
|
Requires-Dist: google-cloud-storage (>=2.18.0,<3.0.0) ; extra == "object-storages" or extra == "all"
|
|
51
47
|
Requires-Dist: google-generativeai (>=0.6.0,<0.7.0) ; extra == "model-platforms" or extra == "all"
|
|
52
48
|
Requires-Dist: googlemaps (>=4.10.0,<5.0.0) ; extra == "tools" or extra == "all"
|
|
49
|
+
Requires-Dist: groq (>=0.5.0,<0.6.0)
|
|
53
50
|
Requires-Dist: imageio[pyav] (>=2.34.2,<3.0.0) ; extra == "tools" or extra == "all"
|
|
54
|
-
Requires-Dist: ipykernel (>=6.0.0,<7.0.0)
|
|
51
|
+
Requires-Dist: ipykernel (>=6.0.0,<7.0.0)
|
|
55
52
|
Requires-Dist: jsonschema (>=4,<5)
|
|
56
53
|
Requires-Dist: jupyter_client (>=8.6.2,<9.0.0) ; extra == "tools" or extra == "all"
|
|
57
54
|
Requires-Dist: litellm (>=1.38.1,<2.0.0) ; extra == "model-platforms" or extra == "all"
|
|
58
|
-
Requires-Dist: mistralai (>=1.
|
|
55
|
+
Requires-Dist: mistralai (>=1.0.0,<2.0.0) ; extra == "model-platforms" or extra == "all"
|
|
59
56
|
Requires-Dist: mock (>=5,<6) ; extra == "test"
|
|
60
57
|
Requires-Dist: nebula3-python (==3.8.2) ; extra == "rag" or extra == "graph-storages" or extra == "all"
|
|
61
58
|
Requires-Dist: neo4j (>=5.18.0,<6.0.0) ; extra == "rag" or extra == "graph-storages" or extra == "all"
|
|
@@ -67,7 +64,6 @@ Requires-Dist: openapi-spec-validator (>=0.7.1,<0.8.0) ; extra == "tools" or ext
|
|
|
67
64
|
Requires-Dist: opencv-python (>=4,<5) ; extra == "huggingface-agent" or extra == "all"
|
|
68
65
|
Requires-Dist: pandoc
|
|
69
66
|
Requires-Dist: pathlib (>=1.0.1,<2.0.0)
|
|
70
|
-
Requires-Dist: pdfplumber (>=0.11.0,<0.12.0) ; extra == "tools" or extra == "all"
|
|
71
67
|
Requires-Dist: pillow (>=10.2.0,<11.0.0) ; extra == "tools" or extra == "all"
|
|
72
68
|
Requires-Dist: prance (>=23.6.21.0,<24.0.0.0) ; extra == "tools" or extra == "all"
|
|
73
69
|
Requires-Dist: praw (>=7.7.1,<8.0.0) ; extra == "tools" or extra == "all"
|
|
@@ -85,18 +81,15 @@ Requires-Dist: rank-bm25 (>=0.2.2,<0.3.0) ; extra == "rag" or extra == "retrieve
|
|
|
85
81
|
Requires-Dist: redis (>=5.0.6,<6.0.0) ; extra == "kv-stroages" or extra == "all"
|
|
86
82
|
Requires-Dist: reka-api (>=3.0.8,<4.0.0) ; extra == "model-platforms" or extra == "all"
|
|
87
83
|
Requires-Dist: requests_oauthlib (>=1.3.1,<2.0.0) ; extra == "tools" or extra == "all"
|
|
88
|
-
Requires-Dist: scholarly[tor] (==1.7.11) ; extra == "tools" or extra == "all"
|
|
89
84
|
Requires-Dist: sentence-transformers (>=3.0.1,<4.0.0) ; extra == "rag" or extra == "encoders" or extra == "all"
|
|
90
85
|
Requires-Dist: sentencepiece (>=0,<1) ; extra == "huggingface-agent" or extra == "all"
|
|
91
|
-
Requires-Dist: slack-bolt (>=1.20.1,<2.0.0) ; extra == "tools" or extra == "all"
|
|
92
86
|
Requires-Dist: slack-sdk (>=3.27.2,<4.0.0) ; extra == "tools" or extra == "all"
|
|
93
87
|
Requires-Dist: soundfile (>=0,<1) ; extra == "huggingface-agent" or extra == "all"
|
|
94
88
|
Requires-Dist: textblob (>=0.18.0.post0,<0.19.0) ; extra == "tools" or extra == "all"
|
|
95
89
|
Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
|
|
96
|
-
Requires-Dist: torch (
|
|
97
|
-
Requires-Dist: torch (>=2,<3) ; (platform_system != "Darwin" or platform_machine == "arm64") and (extra == "huggingface-agent" or extra == "all")
|
|
90
|
+
Requires-Dist: torch (>=2,<3) ; extra == "huggingface-agent" or extra == "all"
|
|
98
91
|
Requires-Dist: transformers (>=4,<5) ; extra == "huggingface-agent" or extra == "all"
|
|
99
|
-
Requires-Dist: unstructured[all-docs] (>=0.
|
|
92
|
+
Requires-Dist: unstructured[all-docs] (>=0.10,<0.11) ; extra == "rag" or extra == "tools" or extra == "all"
|
|
100
93
|
Requires-Dist: wikipedia (>=1,<2) ; extra == "search-tools" or extra == "tools" or extra == "all"
|
|
101
94
|
Requires-Dist: wolframalpha (>=5.0.0,<6.0.0) ; extra == "search-tools" or extra == "tools" or extra == "all"
|
|
102
95
|
Project-URL: Documentation, https://docs.camel-ai.org
|
|
@@ -112,13 +105,14 @@ Description-Content-Type: text/markdown
|
|
|
112
105
|
|
|
113
106
|
______________________________________________________________________
|
|
114
107
|
|
|
115
|
-
# CAMEL:
|
|
108
|
+
# CAMEL: Communicative Agents for “Mind” Exploration of Large Language Model Society
|
|
116
109
|
|
|
117
110
|
[![Python Version][python-image]][python-url]
|
|
118
111
|
[![PyTest Status][pytest-image]][pytest-url]
|
|
119
112
|
[![Documentation][docs-image]][docs-url]
|
|
120
113
|
[![Star][star-image]][star-url]
|
|
121
114
|
[![Package License][package-license-image]][package-license-url]
|
|
115
|
+
[![Data License][data-license-image]][data-license-url]
|
|
122
116
|
|
|
123
117
|
<p align="center">
|
|
124
118
|
<a href="https://github.com/camel-ai/camel#community">Community</a> |
|
|
@@ -132,14 +126,16 @@ ______________________________________________________________________
|
|
|
132
126
|
</p>
|
|
133
127
|
|
|
134
128
|
<p align="center">
|
|
135
|
-
<img src='https://raw.githubusercontent.com/camel-ai/camel/master/misc/
|
|
129
|
+
<img src='https://raw.githubusercontent.com/camel-ai/camel/master/misc/primary_logo.png' width=800>
|
|
136
130
|
</p>
|
|
137
131
|
|
|
132
|
+
## Overview
|
|
133
|
+
The rapid advancement of conversational and chat-based language models has led to remarkable progress in complex task-solving. However, their success heavily relies on human input to guide the conversation, which can be challenging and time-consuming. This paper explores the potential of building scalable techniques to facilitate autonomous cooperation among communicative agents and provide insight into their "cognitive" processes. To address the challenges of achieving autonomous cooperation, we propose a novel communicative agent framework named *role-playing*. Our approach involves using *inception prompting* to guide chat agents toward task completion while maintaining consistency with human intentions. We showcase how role-playing can be used to generate conversational data for studying the behaviors and capabilities of chat agents, providing a valuable resource for investigating conversational language models. Our contributions include introducing a novel communicative agent framework, offering a scalable approach for studying the cooperative behaviors and capabilities of multi-agent systems, and open-sourcing our library to support research on communicative agents and beyond. The GitHub repository of this project is made publicly available on: [https://github.com/camel-ai/camel](https://github.com/camel-ai/camel).
|
|
138
134
|
|
|
139
135
|
## Community
|
|
140
|
-
🐫 CAMEL is an open-source
|
|
136
|
+
🐫 CAMEL is an open-source library designed for the study of autonomous and communicative agents. We believe that studying these agents on a large scale offers valuable insights into their behaviors, capabilities, and potential risks. To facilitate research in this field, we implement and support various types of agents, tasks, prompts, models, and simulated environments.
|
|
141
137
|
|
|
142
|
-
Join us ([*
|
|
138
|
+
Join us ([*Slack*](https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ), [*Discord*](https://discord.gg/CNcNpquyDc) or [*WeChat*](https://ghli.org/camel/wechat.png)) in pushing the boundaries of building AI Society.
|
|
143
139
|
|
|
144
140
|
## Try it yourself
|
|
145
141
|
We provide a [](https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing) demo showcasing a conversation between two ChatGPT agents playing roles as a python programmer and a stock trader collaborating on developing a trading bot for stock market.
|
|
@@ -175,7 +171,7 @@ Some features require extra dependencies:
|
|
|
175
171
|
Install `CAMEL` from source with poetry (Recommended):
|
|
176
172
|
```sh
|
|
177
173
|
# Make sure your python version is later than 3.10
|
|
178
|
-
# You can use pyenv to manage multiple python
|
|
174
|
+
# You can use pyenv to manage multiple python verisons in your sytstem
|
|
179
175
|
|
|
180
176
|
# Clone github repo
|
|
181
177
|
git clone https://github.com/camel-ai/camel.git
|
|
@@ -183,7 +179,7 @@ git clone https://github.com/camel-ai/camel.git
|
|
|
183
179
|
# Change directory into project directory
|
|
184
180
|
cd camel
|
|
185
181
|
|
|
186
|
-
# If you didn't install
|
|
182
|
+
# If you didn't install peotry before
|
|
187
183
|
pip install poetry # (Optional)
|
|
188
184
|
|
|
189
185
|
# We suggest using python 3.10
|
|
@@ -221,7 +217,7 @@ conda create --name camel python=3.10
|
|
|
221
217
|
conda activate camel
|
|
222
218
|
|
|
223
219
|
# Clone github repo
|
|
224
|
-
git clone -b v0.2.
|
|
220
|
+
git clone -b v0.2.2 https://github.com/camel-ai/camel.git
|
|
225
221
|
|
|
226
222
|
# Change directory into project directory
|
|
227
223
|
cd camel
|
|
@@ -292,7 +288,35 @@ Please note that the environment variable is session-specific. If you open a new
|
|
|
292
288
|
```bash
|
|
293
289
|
ollama pull llama3
|
|
294
290
|
```
|
|
295
|
-
-
|
|
291
|
+
- Create a ModelFile similar the one below in your project directory.
|
|
292
|
+
```bash
|
|
293
|
+
FROM llama3
|
|
294
|
+
|
|
295
|
+
# Set parameters
|
|
296
|
+
PARAMETER temperature 0.8
|
|
297
|
+
PARAMETER stop Result
|
|
298
|
+
|
|
299
|
+
# Sets a custom system message to specify the behavior of the chat assistant
|
|
300
|
+
|
|
301
|
+
# Leaving it blank for now.
|
|
302
|
+
|
|
303
|
+
SYSTEM """ """
|
|
304
|
+
```
|
|
305
|
+
- Create a script to get the base model (llama3) and create a custom model using the ModelFile above. Save this as a .sh file:
|
|
306
|
+
```bash
|
|
307
|
+
#!/bin/zsh
|
|
308
|
+
|
|
309
|
+
# variables
|
|
310
|
+
model_name="llama3"
|
|
311
|
+
custom_model_name="camel-llama3"
|
|
312
|
+
|
|
313
|
+
#get the base model
|
|
314
|
+
ollama pull $model_name
|
|
315
|
+
|
|
316
|
+
#create the model file
|
|
317
|
+
ollama create $custom_model_name -f ./Llama3ModelFile
|
|
318
|
+
```
|
|
319
|
+
- Navigate to the directory where the script and ModelFile are located and run the script. Enjoy your Llama3 model, enhanced by CAMEL's excellent agents.
|
|
296
320
|
```python
|
|
297
321
|
from camel.agents import ChatAgent
|
|
298
322
|
from camel.messages import BaseMessage
|
|
@@ -302,6 +326,7 @@ Please note that the environment variable is session-specific. If you open a new
|
|
|
302
326
|
ollama_model = ModelFactory.create(
|
|
303
327
|
model_platform=ModelPlatformType.OLLAMA,
|
|
304
328
|
model_type="llama3",
|
|
329
|
+
url="http://localhost:11434/v1",
|
|
305
330
|
model_config_dict={"temperature": 0.4},
|
|
306
331
|
)
|
|
307
332
|
|
|
@@ -388,7 +413,7 @@ We implemented amazing research ideas from other works for you to build, compare
|
|
|
388
413
|
year={2023}
|
|
389
414
|
}
|
|
390
415
|
```
|
|
391
|
-
##
|
|
416
|
+
## Acknowledgement
|
|
392
417
|
Special thanks to [Nomic AI](https://home.nomic.ai/) for giving us extended access to their data set exploration tool (Atlas).
|
|
393
418
|
|
|
394
419
|
We would also like to thank Haya Hammoud for designing the initial logo of our project.
|
|
@@ -397,14 +422,16 @@ We would also like to thank Haya Hammoud for designing the initial logo of our p
|
|
|
397
422
|
|
|
398
423
|
The source code is licensed under Apache 2.0.
|
|
399
424
|
|
|
425
|
+
The datasets are licensed under CC BY NC 4.0, which permits only non-commercial usage. It is advised that any models trained using the dataset should not be utilized for anything other than research purposes.
|
|
426
|
+
|
|
400
427
|
## Contributing to CAMEL 🐫
|
|
401
428
|
We appreciate your interest in contributing to our open-source initiative. We provide a document of [contributing guidelines](https://github.com/camel-ai/camel/blob/master/CONTRIBUTING.md) which outlines the steps for contributing to CAMEL. Please refer to this guide to ensure smooth collaboration and successful contributions. 🤝🚀
|
|
402
429
|
|
|
403
430
|
## Contact
|
|
404
431
|
For more information please contact camel.ai.team@gmail.com.
|
|
405
432
|
|
|
406
|
-
[python-image]: https://img.shields.io/badge/Python-3.10%
|
|
407
|
-
[python-url]: https://
|
|
433
|
+
[python-image]: https://img.shields.io/badge/Python-3.10%2B-brightgreen.svg
|
|
434
|
+
[python-url]: https://docs.python.org/3.10/
|
|
408
435
|
[pytest-image]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml/badge.svg
|
|
409
436
|
[pytest-url]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml
|
|
410
437
|
[docs-image]: https://img.shields.io/badge/Documentation-grey.svg?logo=github
|
|
@@ -413,6 +440,8 @@ For more information please contact camel.ai.team@gmail.com.
|
|
|
413
440
|
[star-url]: https://github.com/camel-ai/camel/stargazers
|
|
414
441
|
[package-license-image]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
|
|
415
442
|
[package-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/LICENSE
|
|
443
|
+
[data-license-image]: https://img.shields.io/badge/License-CC_BY--NC_4.0-lightgrey.svg
|
|
444
|
+
[data-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/DATA_LICENSE
|
|
416
445
|
|
|
417
446
|
[colab-url]: https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing
|
|
418
447
|
[colab-image]: https://colab.research.google.com/assets/colab-badge.svg
|
|
@@ -420,7 +449,7 @@ For more information please contact camel.ai.team@gmail.com.
|
|
|
420
449
|
[huggingface-image]: https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-CAMEL--AI-ffc107?color=ffc107&logoColor=white
|
|
421
450
|
[slack-url]: https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ
|
|
422
451
|
[slack-image]: https://img.shields.io/badge/Slack-CAMEL--AI-blueviolet?logo=slack
|
|
423
|
-
[discord-url]: https://discord.
|
|
452
|
+
[discord-url]: https://discord.gg/CNcNpquyDc
|
|
424
453
|
[discord-image]: https://img.shields.io/badge/Discord-CAMEL--AI-7289da?logo=discord&logoColor=white&color=7289da
|
|
425
454
|
[wechat-url]: https://ghli.org/camel/wechat.png
|
|
426
455
|
[wechat-image]: https://img.shields.io/badge/WeChat-CamelAIOrg-brightgreen?logo=wechat&logoColor=white
|
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
______________________________________________________________________
|
|
9
9
|
|
|
10
|
-
# CAMEL:
|
|
10
|
+
# CAMEL: Communicative Agents for “Mind” Exploration of Large Language Model Society
|
|
11
11
|
|
|
12
12
|
[![Python Version][python-image]][python-url]
|
|
13
13
|
[![PyTest Status][pytest-image]][pytest-url]
|
|
14
14
|
[![Documentation][docs-image]][docs-url]
|
|
15
15
|
[![Star][star-image]][star-url]
|
|
16
16
|
[![Package License][package-license-image]][package-license-url]
|
|
17
|
+
[![Data License][data-license-image]][data-license-url]
|
|
17
18
|
|
|
18
19
|
<p align="center">
|
|
19
20
|
<a href="https://github.com/camel-ai/camel#community">Community</a> |
|
|
@@ -27,14 +28,16 @@ ______________________________________________________________________
|
|
|
27
28
|
</p>
|
|
28
29
|
|
|
29
30
|
<p align="center">
|
|
30
|
-
<img src='https://raw.githubusercontent.com/camel-ai/camel/master/misc/
|
|
31
|
+
<img src='https://raw.githubusercontent.com/camel-ai/camel/master/misc/primary_logo.png' width=800>
|
|
31
32
|
</p>
|
|
32
33
|
|
|
34
|
+
## Overview
|
|
35
|
+
The rapid advancement of conversational and chat-based language models has led to remarkable progress in complex task-solving. However, their success heavily relies on human input to guide the conversation, which can be challenging and time-consuming. This paper explores the potential of building scalable techniques to facilitate autonomous cooperation among communicative agents and provide insight into their "cognitive" processes. To address the challenges of achieving autonomous cooperation, we propose a novel communicative agent framework named *role-playing*. Our approach involves using *inception prompting* to guide chat agents toward task completion while maintaining consistency with human intentions. We showcase how role-playing can be used to generate conversational data for studying the behaviors and capabilities of chat agents, providing a valuable resource for investigating conversational language models. Our contributions include introducing a novel communicative agent framework, offering a scalable approach for studying the cooperative behaviors and capabilities of multi-agent systems, and open-sourcing our library to support research on communicative agents and beyond. The GitHub repository of this project is made publicly available on: [https://github.com/camel-ai/camel](https://github.com/camel-ai/camel).
|
|
33
36
|
|
|
34
37
|
## Community
|
|
35
|
-
🐫 CAMEL is an open-source
|
|
38
|
+
🐫 CAMEL is an open-source library designed for the study of autonomous and communicative agents. We believe that studying these agents on a large scale offers valuable insights into their behaviors, capabilities, and potential risks. To facilitate research in this field, we implement and support various types of agents, tasks, prompts, models, and simulated environments.
|
|
36
39
|
|
|
37
|
-
Join us ([*
|
|
40
|
+
Join us ([*Slack*](https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ), [*Discord*](https://discord.gg/CNcNpquyDc) or [*WeChat*](https://ghli.org/camel/wechat.png)) in pushing the boundaries of building AI Society.
|
|
38
41
|
|
|
39
42
|
## Try it yourself
|
|
40
43
|
We provide a [](https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing) demo showcasing a conversation between two ChatGPT agents playing roles as a python programmer and a stock trader collaborating on developing a trading bot for stock market.
|
|
@@ -70,7 +73,7 @@ Some features require extra dependencies:
|
|
|
70
73
|
Install `CAMEL` from source with poetry (Recommended):
|
|
71
74
|
```sh
|
|
72
75
|
# Make sure your python version is later than 3.10
|
|
73
|
-
# You can use pyenv to manage multiple python
|
|
76
|
+
# You can use pyenv to manage multiple python verisons in your sytstem
|
|
74
77
|
|
|
75
78
|
# Clone github repo
|
|
76
79
|
git clone https://github.com/camel-ai/camel.git
|
|
@@ -78,7 +81,7 @@ git clone https://github.com/camel-ai/camel.git
|
|
|
78
81
|
# Change directory into project directory
|
|
79
82
|
cd camel
|
|
80
83
|
|
|
81
|
-
# If you didn't install
|
|
84
|
+
# If you didn't install peotry before
|
|
82
85
|
pip install poetry # (Optional)
|
|
83
86
|
|
|
84
87
|
# We suggest using python 3.10
|
|
@@ -116,7 +119,7 @@ conda create --name camel python=3.10
|
|
|
116
119
|
conda activate camel
|
|
117
120
|
|
|
118
121
|
# Clone github repo
|
|
119
|
-
git clone -b v0.2.
|
|
122
|
+
git clone -b v0.2.2 https://github.com/camel-ai/camel.git
|
|
120
123
|
|
|
121
124
|
# Change directory into project directory
|
|
122
125
|
cd camel
|
|
@@ -187,7 +190,35 @@ Please note that the environment variable is session-specific. If you open a new
|
|
|
187
190
|
```bash
|
|
188
191
|
ollama pull llama3
|
|
189
192
|
```
|
|
190
|
-
-
|
|
193
|
+
- Create a ModelFile similar the one below in your project directory.
|
|
194
|
+
```bash
|
|
195
|
+
FROM llama3
|
|
196
|
+
|
|
197
|
+
# Set parameters
|
|
198
|
+
PARAMETER temperature 0.8
|
|
199
|
+
PARAMETER stop Result
|
|
200
|
+
|
|
201
|
+
# Sets a custom system message to specify the behavior of the chat assistant
|
|
202
|
+
|
|
203
|
+
# Leaving it blank for now.
|
|
204
|
+
|
|
205
|
+
SYSTEM """ """
|
|
206
|
+
```
|
|
207
|
+
- Create a script to get the base model (llama3) and create a custom model using the ModelFile above. Save this as a .sh file:
|
|
208
|
+
```bash
|
|
209
|
+
#!/bin/zsh
|
|
210
|
+
|
|
211
|
+
# variables
|
|
212
|
+
model_name="llama3"
|
|
213
|
+
custom_model_name="camel-llama3"
|
|
214
|
+
|
|
215
|
+
#get the base model
|
|
216
|
+
ollama pull $model_name
|
|
217
|
+
|
|
218
|
+
#create the model file
|
|
219
|
+
ollama create $custom_model_name -f ./Llama3ModelFile
|
|
220
|
+
```
|
|
221
|
+
- Navigate to the directory where the script and ModelFile are located and run the script. Enjoy your Llama3 model, enhanced by CAMEL's excellent agents.
|
|
191
222
|
```python
|
|
192
223
|
from camel.agents import ChatAgent
|
|
193
224
|
from camel.messages import BaseMessage
|
|
@@ -197,6 +228,7 @@ Please note that the environment variable is session-specific. If you open a new
|
|
|
197
228
|
ollama_model = ModelFactory.create(
|
|
198
229
|
model_platform=ModelPlatformType.OLLAMA,
|
|
199
230
|
model_type="llama3",
|
|
231
|
+
url="http://localhost:11434/v1",
|
|
200
232
|
model_config_dict={"temperature": 0.4},
|
|
201
233
|
)
|
|
202
234
|
|
|
@@ -283,7 +315,7 @@ We implemented amazing research ideas from other works for you to build, compare
|
|
|
283
315
|
year={2023}
|
|
284
316
|
}
|
|
285
317
|
```
|
|
286
|
-
##
|
|
318
|
+
## Acknowledgement
|
|
287
319
|
Special thanks to [Nomic AI](https://home.nomic.ai/) for giving us extended access to their data set exploration tool (Atlas).
|
|
288
320
|
|
|
289
321
|
We would also like to thank Haya Hammoud for designing the initial logo of our project.
|
|
@@ -292,14 +324,16 @@ We would also like to thank Haya Hammoud for designing the initial logo of our p
|
|
|
292
324
|
|
|
293
325
|
The source code is licensed under Apache 2.0.
|
|
294
326
|
|
|
327
|
+
The datasets are licensed under CC BY NC 4.0, which permits only non-commercial usage. It is advised that any models trained using the dataset should not be utilized for anything other than research purposes.
|
|
328
|
+
|
|
295
329
|
## Contributing to CAMEL 🐫
|
|
296
330
|
We appreciate your interest in contributing to our open-source initiative. We provide a document of [contributing guidelines](https://github.com/camel-ai/camel/blob/master/CONTRIBUTING.md) which outlines the steps for contributing to CAMEL. Please refer to this guide to ensure smooth collaboration and successful contributions. 🤝🚀
|
|
297
331
|
|
|
298
332
|
## Contact
|
|
299
333
|
For more information please contact camel.ai.team@gmail.com.
|
|
300
334
|
|
|
301
|
-
[python-image]: https://img.shields.io/badge/Python-3.10%
|
|
302
|
-
[python-url]: https://
|
|
335
|
+
[python-image]: https://img.shields.io/badge/Python-3.10%2B-brightgreen.svg
|
|
336
|
+
[python-url]: https://docs.python.org/3.10/
|
|
303
337
|
[pytest-image]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml/badge.svg
|
|
304
338
|
[pytest-url]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml
|
|
305
339
|
[docs-image]: https://img.shields.io/badge/Documentation-grey.svg?logo=github
|
|
@@ -308,6 +342,8 @@ For more information please contact camel.ai.team@gmail.com.
|
|
|
308
342
|
[star-url]: https://github.com/camel-ai/camel/stargazers
|
|
309
343
|
[package-license-image]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
|
|
310
344
|
[package-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/LICENSE
|
|
345
|
+
[data-license-image]: https://img.shields.io/badge/License-CC_BY--NC_4.0-lightgrey.svg
|
|
346
|
+
[data-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/DATA_LICENSE
|
|
311
347
|
|
|
312
348
|
[colab-url]: https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing
|
|
313
349
|
[colab-image]: https://colab.research.google.com/assets/colab-badge.svg
|
|
@@ -315,7 +351,7 @@ For more information please contact camel.ai.team@gmail.com.
|
|
|
315
351
|
[huggingface-image]: https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-CAMEL--AI-ffc107?color=ffc107&logoColor=white
|
|
316
352
|
[slack-url]: https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ
|
|
317
353
|
[slack-image]: https://img.shields.io/badge/Slack-CAMEL--AI-blueviolet?logo=slack
|
|
318
|
-
[discord-url]: https://discord.
|
|
354
|
+
[discord-url]: https://discord.gg/CNcNpquyDc
|
|
319
355
|
[discord-image]: https://img.shields.io/badge/Discord-CAMEL--AI-7289da?logo=discord&logoColor=white&color=7289da
|
|
320
356
|
[wechat-url]: https://ghli.org/camel/wechat.png
|
|
321
357
|
[wechat-image]: https://img.shields.io/badge/WeChat-CamelAIOrg-brightgreen?logo=wechat&logoColor=white
|