camel-ai 0.2.3__tar.gz → 0.2.3a0__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.

Potentially problematic release.


This version of camel-ai might be problematic. Click here for more details.

Files changed (213) hide show
  1. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/PKG-INFO +56 -27
  2. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/README.md +48 -12
  3. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/__init__.py +1 -1
  4. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/chat_agent.py +69 -93
  5. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/knowledge_graph_agent.py +6 -4
  6. camel_ai-0.2.3a0/camel/bots/__init__.py +20 -0
  7. camel_ai-0.2.3a0/camel/bots/discord_bot.py +206 -0
  8. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/__init__.py +2 -1
  9. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/anthropic_config.py +5 -2
  10. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/base_config.py +6 -6
  11. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/groq_config.py +3 -2
  12. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/ollama_config.py +2 -1
  13. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/openai_config.py +23 -2
  14. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/samba_config.py +2 -2
  15. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/togetherai_config.py +1 -1
  16. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/vllm_config.py +1 -1
  17. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/zhipuai_config.py +3 -2
  18. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/embeddings/openai_embedding.py +2 -2
  19. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/loaders/__init__.py +0 -2
  20. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/loaders/firecrawl_reader.py +3 -3
  21. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/loaders/unstructured_io.py +33 -35
  22. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/messages/__init__.py +0 -1
  23. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/__init__.py +4 -2
  24. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/anthropic_model.py +26 -32
  25. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/azure_openai_model.py +36 -39
  26. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/base_model.py +20 -31
  27. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/gemini_model.py +29 -37
  28. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/groq_model.py +23 -29
  29. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/litellm_model.py +61 -44
  30. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/mistral_model.py +29 -32
  31. camel_ai-0.2.3a0/camel/models/model_factory.py +134 -0
  32. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/nemotron_model.py +23 -33
  33. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/ollama_model.py +47 -42
  34. camel_ai-0.2.3a0/camel/models/open_source_model.py +170 -0
  35. camel_ai-0.2.3/camel/models/openai_compatible_model.py → camel_ai-0.2.3a0/camel/models/openai_compatibility_model.py +49 -31
  36. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/openai_model.py +29 -48
  37. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/reka_model.py +28 -30
  38. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/samba_model.py +177 -82
  39. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/stub_model.py +2 -2
  40. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/togetherai_model.py +43 -37
  41. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/vllm_model.py +50 -43
  42. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/zhipuai_model.py +27 -33
  43. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/retrievers/auto_retriever.py +10 -28
  44. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/retrievers/vector_retriever.py +47 -58
  45. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/societies/babyagi_playing.py +3 -6
  46. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/societies/role_playing.py +3 -5
  47. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/graph_storages/graph_element.py +5 -3
  48. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/key_value_storages/json.py +1 -6
  49. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/__init__.py +7 -20
  50. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/base.py +3 -2
  51. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/code_execution.py +7 -6
  52. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/dalle_toolkit.py +6 -6
  53. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/github_toolkit.py +10 -9
  54. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/google_maps_toolkit.py +7 -7
  55. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/linkedin_toolkit.py +7 -7
  56. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/math_toolkit.py +8 -8
  57. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_toolkit.py +5 -5
  58. camel_ai-0.2.3/camel/toolkits/function_tool.py → camel_ai-0.2.3a0/camel/toolkits/openai_function.py +11 -34
  59. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/reddit_toolkit.py +7 -7
  60. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/retrieval_toolkit.py +5 -5
  61. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/search_toolkit.py +9 -9
  62. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/slack_toolkit.py +11 -11
  63. camel_ai-0.2.3a0/camel/toolkits/twitter_toolkit.py +519 -0
  64. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/weather_toolkit.py +6 -6
  65. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/types/__init__.py +1 -6
  66. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/types/enums.py +85 -40
  67. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/types/openai_types.py +0 -3
  68. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/utils/__init__.py +2 -0
  69. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/utils/async_func.py +7 -7
  70. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/utils/commons.py +3 -32
  71. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/utils/token_counting.py +212 -30
  72. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/workforce/role_playing_worker.py +1 -1
  73. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/workforce/single_agent_worker.py +1 -1
  74. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/workforce/task_channel.py +3 -4
  75. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/workforce/workforce.py +4 -4
  76. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/pyproject.toml +10 -39
  77. camel_ai-0.2.3/LICENSE +0 -201
  78. camel_ai-0.2.3/camel/bots/__init__.py +0 -34
  79. camel_ai-0.2.3/camel/bots/discord_app.py +0 -138
  80. camel_ai-0.2.3/camel/bots/slack/__init__.py +0 -30
  81. camel_ai-0.2.3/camel/bots/slack/models.py +0 -158
  82. camel_ai-0.2.3/camel/bots/slack/slack_app.py +0 -255
  83. camel_ai-0.2.3/camel/loaders/chunkr_reader.py +0 -163
  84. camel_ai-0.2.3/camel/models/model_factory.py +0 -124
  85. camel_ai-0.2.3/camel/toolkits/arxiv_toolkit.py +0 -155
  86. camel_ai-0.2.3/camel/toolkits/ask_news_toolkit.py +0 -653
  87. camel_ai-0.2.3/camel/toolkits/google_scholar_toolkit.py +0 -146
  88. camel_ai-0.2.3/camel/toolkits/twitter_toolkit.py +0 -445
  89. camel_ai-0.2.3/camel/toolkits/whatsapp_toolkit.py +0 -177
  90. camel_ai-0.2.3/camel/types/unified_model_type.py +0 -104
  91. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/__init__.py +0 -0
  92. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/base.py +0 -0
  93. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/critic_agent.py +0 -0
  94. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/deductive_reasoner_agent.py +0 -0
  95. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/embodied_agent.py +0 -0
  96. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/role_assignment_agent.py +0 -0
  97. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/search_agent.py +0 -0
  98. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/task_agent.py +0 -0
  99. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/tool_agents/__init__.py +0 -0
  100. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/tool_agents/base.py +0 -0
  101. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/agents/tool_agents/hugging_face_tool_agent.py +0 -0
  102. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/bots/telegram_bot.py +0 -0
  103. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/gemini_config.py +0 -0
  104. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/litellm_config.py +0 -0
  105. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/mistral_config.py +0 -0
  106. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/configs/reka_config.py +0 -0
  107. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/embeddings/__init__.py +0 -0
  108. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/embeddings/base.py +0 -0
  109. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/embeddings/mistral_embedding.py +0 -0
  110. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/embeddings/sentence_transformers_embeddings.py +0 -0
  111. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/embeddings/vlm_embedding.py +0 -0
  112. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/generators.py +0 -0
  113. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/human.py +0 -0
  114. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/interpreters/__init__.py +0 -0
  115. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/interpreters/base.py +0 -0
  116. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/interpreters/docker_interpreter.py +0 -0
  117. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/interpreters/internal_python_interpreter.py +0 -0
  118. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/interpreters/interpreter_error.py +0 -0
  119. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/interpreters/ipython_interpreter.py +0 -0
  120. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/interpreters/subprocess_interpreter.py +0 -0
  121. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/loaders/base_io.py +0 -0
  122. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/loaders/jina_url_reader.py +0 -0
  123. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/memories/__init__.py +0 -0
  124. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/memories/agent_memories.py +0 -0
  125. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/memories/base.py +0 -0
  126. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/memories/blocks/__init__.py +0 -0
  127. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/memories/blocks/chat_history_block.py +0 -0
  128. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/memories/blocks/vectordb_block.py +0 -0
  129. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/memories/context_creators/__init__.py +0 -0
  130. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/memories/context_creators/score_based.py +0 -0
  131. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/memories/records.py +0 -0
  132. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/messages/base.py +0 -0
  133. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/messages/func_message.py +0 -0
  134. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/models/openai_audio_models.py +0 -0
  135. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/__init__.py +0 -0
  136. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/ai_society.py +0 -0
  137. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/base.py +0 -0
  138. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/code.py +0 -0
  139. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/evaluation.py +0 -0
  140. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/generate_text_embedding_data.py +0 -0
  141. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/image_craft.py +0 -0
  142. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/misalignment.py +0 -0
  143. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/multi_condition_image_craft.py +0 -0
  144. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/object_recognition.py +0 -0
  145. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/prompt_templates.py +0 -0
  146. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/role_description_prompt_template.py +0 -0
  147. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/solution_extraction.py +0 -0
  148. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/task_prompt_template.py +0 -0
  149. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/translation.py +0 -0
  150. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/prompts/video_description_prompt.py +0 -0
  151. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/responses/__init__.py +0 -0
  152. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/responses/agent_responses.py +0 -0
  153. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/retrievers/__init__.py +0 -0
  154. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/retrievers/base.py +0 -0
  155. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/retrievers/bm25_retriever.py +0 -0
  156. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/retrievers/cohere_rerank_retriever.py +0 -0
  157. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/societies/__init__.py +0 -0
  158. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/__init__.py +0 -0
  159. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/graph_storages/__init__.py +0 -0
  160. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/graph_storages/base.py +0 -0
  161. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/graph_storages/nebula_graph.py +0 -0
  162. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/graph_storages/neo4j_graph.py +0 -0
  163. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/key_value_storages/__init__.py +0 -0
  164. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/key_value_storages/base.py +0 -0
  165. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/key_value_storages/in_memory.py +0 -0
  166. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/key_value_storages/redis.py +0 -0
  167. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/object_storages/__init__.py +0 -0
  168. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/object_storages/amazon_s3.py +0 -0
  169. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/object_storages/azure_blob.py +0 -0
  170. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/object_storages/base.py +0 -0
  171. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/object_storages/google_cloud.py +0 -0
  172. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/vectordb_storages/__init__.py +0 -0
  173. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/vectordb_storages/base.py +0 -0
  174. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/vectordb_storages/milvus.py +0 -0
  175. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/storages/vectordb_storages/qdrant.py +0 -0
  176. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/tasks/__init__.py +0 -0
  177. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/tasks/task.py +0 -0
  178. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/tasks/task_prompt.py +0 -0
  179. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/terminators/__init__.py +0 -0
  180. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/terminators/base.py +0 -0
  181. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/terminators/response_terminator.py +0 -0
  182. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/terminators/token_limit_terminator.py +0 -0
  183. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/biztoc/__init__.py +0 -0
  184. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/biztoc/ai-plugin.json +0 -0
  185. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/biztoc/openapi.yaml +0 -0
  186. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/coursera/__init__.py +0 -0
  187. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/coursera/openapi.yaml +0 -0
  188. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/create_qr_code/__init__.py +0 -0
  189. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/create_qr_code/openapi.yaml +0 -0
  190. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/klarna/__init__.py +0 -0
  191. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/klarna/openapi.yaml +0 -0
  192. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/nasa_apod/__init__.py +0 -0
  193. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/nasa_apod/openapi.yaml +0 -0
  194. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/outschool/__init__.py +0 -0
  195. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/outschool/ai-plugin.json +0 -0
  196. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/outschool/openapi.yaml +0 -0
  197. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/outschool/paths/__init__.py +0 -0
  198. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/outschool/paths/get_classes.py +0 -0
  199. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py +0 -0
  200. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/security_config.py +0 -0
  201. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/speak/__init__.py +0 -0
  202. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/speak/openapi.yaml +0 -0
  203. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/web_scraper/__init__.py +0 -0
  204. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/web_scraper/ai-plugin.json +0 -0
  205. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/web_scraper/openapi.yaml +0 -0
  206. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py +0 -0
  207. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py +0 -0
  208. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/utils/constants.py +0 -0
  209. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/workforce/__init__.py +0 -0
  210. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/workforce/base.py +0 -0
  211. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/workforce/prompts.py +0 -0
  212. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/camel/workforce/utils.py +0 -0
  213. {camel_ai-0.2.3 → camel_ai-0.2.3a0}/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
3
+ Version: 0.2.3a0
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.13
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) ; extra == "model-platforms" or extra == "all"
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) ; extra == "tools" or extra == "all"
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.1.0,<2.0.0) ; extra == "model-platforms" or extra == "all"
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 (==2.1.0) ; (platform_system == "Darwin" and platform_machine != "arm64") and (extra == "huggingface-agent" or extra == "all")
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.14,<0.15) ; extra == "rag" or extra == "tools" or extra == "all"
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: Finding the Scaling Laws of Agents
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/logo_light.png' width=800>
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 community dedicated to finding the scaling laws of 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.
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 ([*Discord*](https://discord.camel-ai.org/), [*WeChat*](https://ghli.org/camel/wechat.png) or [*Slack*](https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ)) in pushing the boundaries of finding the scaling laws of agents.
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 [![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](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 versions in your system
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 poetry before
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.3 https://github.com/camel-ai/camel.git
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
- - Run the script. Enjoy your Llama3 model, enhanced by CAMEL's excellent agents.
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
- ## Acknowledgment
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%2C%203.11%2C%203.12-brightgreen.svg
407
- [python-url]: https://www.python.org/
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.camel-ai.org/
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: Finding the Scaling Laws of Agents
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/logo_light.png' width=800>
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 community dedicated to finding the scaling laws of 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.
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 ([*Discord*](https://discord.camel-ai.org/), [*WeChat*](https://ghli.org/camel/wechat.png) or [*Slack*](https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ)) in pushing the boundaries of finding the scaling laws of agents.
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 [![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](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 versions in your system
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 poetry before
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.3 https://github.com/camel-ai/camel.git
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
- - Run the script. Enjoy your Llama3 model, enhanced by CAMEL's excellent agents.
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
- ## Acknowledgment
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%2C%203.11%2C%203.12-brightgreen.svg
302
- [python-url]: https://www.python.org/
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.camel-ai.org/
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
@@ -12,7 +12,7 @@
12
12
  # limitations under the License.
13
13
  # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========
14
14
 
15
- __version__ = '0.2.3'
15
+ __version__ = '0.2.2'
16
16
 
17
17
  __all__ = [
18
18
  '__version__',