camel-ai 0.1.5.9__py3-none-any.whl → 0.1.6.0__py3-none-any.whl

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.

camel/__init__.py CHANGED
@@ -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.1.5.9'
15
+ __version__ = '0.1.6.0'
16
16
 
17
17
  __all__ = [
18
18
  '__version__',
@@ -235,8 +235,6 @@ class AutoRetriever:
235
235
  else content_input_paths
236
236
  )
237
237
 
238
- vr = VectorRetriever()
239
-
240
238
  all_retrieved_info = []
241
239
  for content_input_path in content_input_paths:
242
240
  # Generate a valid collection name
camel/types/enums.py CHANGED
@@ -208,7 +208,6 @@ class ModelType(Enum):
208
208
  # reference: https://lmsys.org/blog/2023-03-30-vicuna/
209
209
  return 2048
210
210
  elif self in {
211
- ModelType.GPT_3_5_TURBO,
212
211
  ModelType.LLAMA_2,
213
212
  ModelType.NEMOTRON_4_REWARD,
214
213
  ModelType.STUB,
@@ -226,7 +225,10 @@ class ModelType(Enum):
226
225
  ModelType.GLM_4_OPEN_SOURCE,
227
226
  }:
228
227
  return 8_192
229
- elif self is ModelType.VICUNA_16K:
228
+ elif self in {
229
+ ModelType.GPT_3_5_TURBO,
230
+ ModelType.VICUNA_16K,
231
+ }:
230
232
  return 16_384
231
233
  elif self in {
232
234
  ModelType.GPT_4_32K,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: camel-ai
3
- Version: 0.1.5.9
3
+ Version: 0.1.6.0
4
4
  Summary: Communicative Agents for AI Society Study
5
5
  Home-page: https://www.camel-ai.org/
6
6
  License: Apache-2.0
@@ -195,7 +195,7 @@ conda create --name camel python=3.9
195
195
  conda activate camel
196
196
 
197
197
  # Clone github repo
198
- git clone -b v0.1.5.9 https://github.com/camel-ai/camel.git
198
+ git clone -b v0.1.6.0 https://github.com/camel-ai/camel.git
199
199
 
200
200
  # Change directory into project directory
201
201
  cd camel
@@ -1,4 +1,4 @@
1
- camel/__init__.py,sha256=kB5ZXhod3rtwh0XZx7na1pO69cLUZYByBARqoJJpFww,780
1
+ camel/__init__.py,sha256=OJnNmVPKanenKThH0dRN67vclKgqEhJmQ3kZv9dtCPw,780
2
2
  camel/agents/__init__.py,sha256=SSU1wbhZXWwQnE0rRxkpyN57kEu72KklsZNcdLkXfTs,1551
3
3
  camel/agents/base.py,sha256=X39qWSiT1WnDqaJ9k3gQrTpOQSwUKzNEVpp5AY6fDH8,1130
4
4
  camel/agents/chat_agent.py,sha256=zGUX7hxeqMe4-6DEPS8XZXNCqZKDN3SNKiMNM_oeSTU,27682
@@ -88,7 +88,7 @@ camel/prompts/video_description_prompt.py,sha256=HRd3fHXftKwBm5QH7Tvm3FabgZPCoAv
88
88
  camel/responses/__init__.py,sha256=edtTQskOgq5obyITziRFL62HTJP9sAikAtP9vrFacEQ,795
89
89
  camel/responses/agent_responses.py,sha256=UsTZHi4jPs2wfChPQWttVNyHneoGdQtdrRouatywE4w,1714
90
90
  camel/retrievers/__init__.py,sha256=CuP3B77zl2PoF-W2y9xSkTGRzoK2J4TlUHdCtuJD8dg,1059
91
- camel/retrievers/auto_retriever.py,sha256=WpvDflxR0HGSA0FPxOgvpxgYyq7pHnzUltmfTEkr2Bc,13591
91
+ camel/retrievers/auto_retriever.py,sha256=jpBPrPB1_uSd4YrfwUpIlaOakU5ryE6-GDjhjldo7sU,13559
92
92
  camel/retrievers/base.py,sha256=sgqaJDwIkWluEgPBlukFN7RYZJnrp0imCAOEWm6bZ40,2646
93
93
  camel/retrievers/bm25_retriever.py,sha256=qM1oCQ-fak3izEjQVn18t0aceW-W8cRKbaYPwcHrEjI,5067
94
94
  camel/retrievers/cohere_rerank_retriever.py,sha256=HvnFqXpsX9EdBOab0kFLDyxxJnknPFMVxyQJQDlHbOA,4100
@@ -153,13 +153,13 @@ camel/toolkits/slack_toolkit.py,sha256=JdgDJe7iExTmG7dDXOG6v5KpVjZ6_My_d_WFTYSxk
153
153
  camel/toolkits/twitter_toolkit.py,sha256=oQw8wRkU7iDxaocsmWvio4pU75pmq6FJAorPdQ2xEAE,19810
154
154
  camel/toolkits/weather_toolkit.py,sha256=n4YrUI_jTIH7oqH918IdHbXLgfQ2BPGIWWK8Jp8G1Uw,7054
155
155
  camel/types/__init__.py,sha256=ArKXATj3z_Vv4ISmROVeo6Mv3tj5kE1dTkqfgwyxVY4,1975
156
- camel/types/enums.py,sha256=RJQrLghX-m06raBcWwdPBLpBg9rwufCuZnX59k4c85g,15898
156
+ camel/types/enums.py,sha256=XKGGC3Zu7XprapNh2f_exEfr7LlTquup0sBSUbIhbLM,15923
157
157
  camel/types/openai_types.py,sha256=BNQ6iCzKTjSvgcXFsAFIgrUS_YUFZBU6bDoyAp387hI,2045
158
158
  camel/utils/__init__.py,sha256=0kQjKkt_I1juOkNAKx_haXvuJ7xiyWfZTD5uHLJdnRk,1919
159
159
  camel/utils/async_func.py,sha256=SLo8KPkrNKdsONvFf3KBb33EgFn4gH2EKSX1aI_LKes,1578
160
160
  camel/utils/commons.py,sha256=J7AOOh5huQkwTvjDt_gpiXNTXnuk0yM_hdtRU8clpNE,11298
161
161
  camel/utils/constants.py,sha256=ZIw5ILfOyJFyjEAYrbJMANeg1_EZI-zMK_xVrkwALbM,1105
162
162
  camel/utils/token_counting.py,sha256=PI3I5J5nYqoLMjOHhW5vU33aQxYcksWtqOd_VcXtREk,20863
163
- camel_ai-0.1.5.9.dist-info/METADATA,sha256=_mq5-Z-Us48bnzFb-efnZQNClByJclWXtvdYyrZ88iA,23786
164
- camel_ai-0.1.5.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
165
- camel_ai-0.1.5.9.dist-info/RECORD,,
163
+ camel_ai-0.1.6.0.dist-info/METADATA,sha256=TX6uWZsyv5NM-zwJNh2cwSOh3V_U6QuENdZxV-3Tucw,23786
164
+ camel_ai-0.1.6.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
165
+ camel_ai-0.1.6.0.dist-info/RECORD,,