Kye
d6e33b652c
no verbose
...
Former-commit-id: 20e4f49e95a9ecc076e465f38e029dc7129a9d4a
2 years ago
Kye
3d157e2dfa
logging level debug
...
Former-commit-id: 5fe653825b0e77c7c8011a0894ec2137cb203ced
2 years ago
Kye
310735b9a0
In this modified code:
...
I've added logging statements to the run_swarms method to provide feedback to the user about the progress of the tasks.
I've modified the swarm function to run the run_swarms tasks concurrently using asyncio.wait. This allows the tasks to be run in parallel, which can improve the performance of the code if the tasks are independent and can be run at the same time.
Former-commit-id: 24e4dc021f8ef43f6dd77a5cac2cc7b9125369f4
2 years ago
Kye
b0820dd667
asynchronous swarms
...
Former-commit-id: a0f3c74b057d3df8d3124b501aca3924151dde84
2 years ago
Kye
8a1b298bdb
I've modified the initialize_vectorstore and run_swarms methods to return None if an error occurs. This allows the program to continue running even if one part fails.
...
I've added more detailed logging in the swarm function. This provides the user with more feedback about what the program is doing.
Former-commit-id: 7eea0fd6788e747c7dafdbb733de723557811bf6
2 years ago
Kye
935a099477
clean up with hivmind
...
Former-commit-id: 3704fd4fb5d668f62973006dd976fa4d88ea5bd6
2 years ago
Kye
2463ca0644
1st hivemind class
...
Former-commit-id: ae765e277eaf36f8784314ab9bf51b41df117c07
2 years ago
Kye
c71df75fed
no verbose
...
Former-commit-id: d807761c2a2e7394b28c75710a5230270a355050
2 years ago
Kye
6224a59fce
clean up + documentation + modularization + error handloinh
...
Former-commit-id: 47ad7791d8d7c2b6d1d3e1c084e3026cdcd6c488
2 years ago
Kye
8a8d002f33
worker node error logging + optional modularity
...
Former-commit-id: 2f84882be42047a0ab2274c6f72dd7c1b1b14912
2 years ago
Kye
a9cc50e48c
docs + error handlong + logging
...
Former-commit-id: a76f10d4677d86a47850a1195324e4a67ad688ad
2 years ago
Kye
da4e6e0acd
validation executor
...
Former-commit-id: 06d842bc61670c132787749c80ba5812edb07250
2 years ago
Kye
4358f1a152
clean up with create executor
...
Former-commit-id: 72de4812afeaf41cf95164ab52dae65bc0b76547
2 years ago
Kye
fbf2ec7c60
make sure agent key is present
...
Former-commit-id: c3149e3788a624e980cc4ddb144e6c8949568340
2 years ago
Kye
8c874cb877
init clean up
...
Former-commit-id: f43d7b6b71e57f5a90fcd92657bac0129840e549
2 years ago
Kye
cfce7d7eff
check for agent
...
Former-commit-id: 63da782f472bca9aae0fe3a7f7f9a372e1bb7800
2 years ago
Kye
97d2695e59
clean up with agent
...
Former-commit-id: 801cf5a73dd26522cf6517b8fcf103e27a118d27
2 years ago
Kye
be9acdcd44
external agent reference in conversationalchatagaent
...
Former-commit-id: 72314194ba89177d09f0fa9841bf5abbf794a96e
2 years ago
Kye
1ef570f4c5
back to importing agent
...
Former-commit-id: af8aa0fc9211b6c93c6fe7a46038773774f3d1c7
2 years ago
Kye
5c5a12fd8c
output parser
...
Former-commit-id: 058550f04886f01fbd7650a5b29e5e96c2a9134c
2 years ago
Kye
03a1331cf7
chat agent abstract class
...
Former-commit-id: 1d36cd9c45dd5875458a3e4d01e846cb6b4a687d
2 years ago
Kye
eb595dccf3
converational object
...
Former-commit-id: 608ad3c26aba48b93a83d1855d6b6c5da485e157
2 years ago
Kye
e0cd68e6aa
no abstract class
...
Former-commit-id: 7aa89f0ba6da7de4e60fbcc48e2d28bb053f08a5
2 years ago
Kye
6db796e885
clean up with agents abstract class
...
Former-commit-id: dbe2e82584bfe6d2dc493e05d2fe6cbe0c269364
2 years ago
Kye
31429ca748
env logic in agent builder
...
Former-commit-id: 04b375e7d5055565cc199d560fa871a9f3fb98c1
2 years ago
Kye
a5cabf0c6a
file import stuff in swarms
...
Former-commit-id: 138015bc7799554fc5b9b610506878ba8c7a9d1e
2 years ago
Kye
b8707bbf64
worker ultra example
...
Former-commit-id: 51cdc4698526da6cd444c5b8dbc0a566c5d028f0
2 years ago
Kye
c6e12a7862
envs + string pass in build_llm
...
Former-commit-id: 8adcad110fab29f7725d5a3ff8cf293fedfe9763
2 years ago
Kye
6b0da5eb8e
revert back to old create_executor
...
Former-commit-id: 62006f114949ceaddca8c25003bedf257eda207b
2 years ago
Kye
00353b387b
clean up
...
Former-commit-id: 7c9c26224d1b4a05aeb5b56c30db6fa004f038c2
2 years ago
Kye
8f67b32183
clean up
...
Former-commit-id: 62eda1bf8375051d0263bdb8578bd0190ce5d386
2 years ago
Kye
7bd07da86d
build llm
...
Former-commit-id: 068bfdcd2392c563c33c36de1b05016a8fa32887
2 years ago
Kye
ee3bceb864
api key pass in
...
Former-commit-id: a5d704ecc9a4c639b25699f2b409ef7900c04603
2 years ago
Kye
d34112a52d
back to langchain openai provider
...
Former-commit-id: ad1da05427f164bab85251b51d2fc0e279b45c29
2 years ago
Kye
884c5c2671
back to chatopenai
...
Former-commit-id: 33eaf1ad9a1043da913dae454ec9b62491139d31
2 years ago
Kye
239397e8ef
clean up
...
Former-commit-id: 7986b3c796b5c1e130a8fbc20b19de364789bf26
2 years ago
Kye
e709cbc9fc
clean up
...
Former-commit-id: 9598b19dbd1aad7c65965cac81104de0f164f942
2 years ago
Kye
bdd2cf4a8a
path error
...
Former-commit-id: 4747b75cfbcdc8bffbc2a39ba8386f6583442438
2 years ago
Kye
111e4f35ea
clena up
...
Former-commit-id: 3c87b537e6faefca2645716e73bb525482cea25e
2 years ago
Kye
10ea864813
clean up
...
Former-commit-id: ddb2e25d8d56b8b92a09ba42a3f50b0e1a8b3845
2 years ago
Kye
8432531430
clean up
...
Former-commit-id: 0ae24f9c24279ba3d398333c1ced02c1434d9180
2 years ago
Kye
56f4371910
clear settings and os.envieon
...
Former-commit-id: f02ff51326cdaaad4e0e923f9b8782d0a3d24327
2 years ago
Kye
78dc1ab8db
clean up
...
Former-commit-id: 302716b676cd4f65b15b51f71a6463411d9db6cf
2 years ago
Kye
59ad68cdaa
clean up workerultranode
...
Former-commit-id: f4b3ef656c6dd171704063c6947a7e7225a8e9a7
2 years ago
Kye
ff8e0dc71f
worker ultra node
...
Former-commit-id: 3faaa75225cef9bd01dd4b22e000c447ccf06644
2 years ago
Kye
89438713bd
import errors
...
Former-commit-id: 885c30073a2c9d87e2da376d918de71acb8378f2
2 years ago
Kye
4a9e288af4
clean up
...
Former-commit-id: c4129b84a62c17e52412d506ec1181066e17f592
2 years ago
Kye
710f146860
clean up worker_tool
...
Former-commit-id: 7efeb1beb3faf2dcee6eadcef545dc4f9e07804b
2 years ago
Kye
9c6030d1c0
clean up
...
Former-commit-id: 85e694c920088a37c970f25c03b3aff8fd682fb2
2 years ago
Kye
ca1bcd3079
clean up
...
Former-commit-id: af01c045bce6e9f6d2f80cdc3cf638ca11429dea
2 years ago
Kye
76e1b4038e
worker ultra import
...
Former-commit-id: fa0def535c3d8aad1f3672e0d7ad196d4ab274e9
2 years ago
Kye
ab6911639c
playground
...
Former-commit-id: b733e2a6a6f88b1924888530f63b4031f6eb0af1
2 years ago
Kye
821573e984
clean up
...
Former-commit-id: 073f399f4f07de422c5a3749dc0a529616dc357e
2 years ago
Kye
c9acc1eedc
clean up
...
Former-commit-id: e2ec295cca3171974a2b57db43d36f1b1392ba58
2 years ago
Kye
9ff2cfde76
clean up
...
Former-commit-id: ef9acddf2858ae75bd0ab95f3558e62c1ee55ef5
2 years ago
Kye
903fc60e14
tools
...
Former-commit-id: b31766016218478c5238ddf7dd9ccd14e4b0daa9
2 years ago
Kye
d914c91143
callbacl handler change
...
Former-commit-id: 22317dbed34437f2fd4f2334f2b4ddbb6dd69bac
2 years ago
Kye
41e4ee2bfd
clean up
...
Former-commit-id: a58a40f9007dd6419d39f1cbac64a67e67a85a99
2 years ago
Kye
02961aa84e
clean up
...
Former-commit-id: 6dae16cba21bec39af207e8c125b18edec87963b
2 years ago
Kye
201107429b
clean up codebase
...
Former-commit-id: 19c40279c009afea24f6dd2ece034e9175fed227
2 years ago
Kye
3f639104db
clean up
...
Former-commit-id: f978fa2c62ff2450af6df845bc4a5e05b48b9ac3
2 years ago
Kye
9173403a15
extensive error habdlong
...
Former-commit-id: 7607118e6b694fe9b055ff7b021cb2e5d8cc125a
2 years ago
Kye
7f25003e38
clean up + error handling
...
Former-commit-id: e9641f686498b884506c20992f09f13c8da76e17
2 years ago
Kye
c429874fa1
clean up accidentally switched workernames
...
Former-commit-id: 5194209802d9ff7a2b3d4c71dd860bc2abbefe37
2 years ago
Kye
d1ed96e883
clean up test with base handler
...
Former-commit-id: f41a92b00e88b3d26f1f58d722f5ea2a90fd8db3
2 years ago
Kye
7a36b1243d
celery
...
Former-commit-id: 1822bb3394979949f750e2160c0db409237f29bb
2 years ago
Kye
44f1b022a3
clean up model name
...
Former-commit-id: c1e7914c505050ae088f857762597dad247bb37e
2 years ago
Kye
1e25332dcd
mising import
...
Former-commit-id: 8995b329d27e5991c63ba42f693f230fd43efbc1
2 years ago
Kye
38e53691dd
or logic
...
Former-commit-id: cb4497397df546019df71f7b8aa63e8518a0be92
2 years ago
Kye
2fbafce9de
AttributeError: module 'os' has no attribute 'env'
...
Former-commit-id: b6b74116b8992498b107bf7cff58a3ed43d15ea5
2 years ago
Kye
8dc282ec85
clean up
...
Former-commit-id: acd2f6f314531baebcf0de45e53991861dca1765
2 years ago
Kye
f36eaa7673
clean up
...
Former-commit-id: cdc9816235651d7b0a14a2074d7585953b8bb552
2 years ago
Kye
181c25914d
clean up
...
Former-commit-id: 43b77d77d57115dc0e40043577d67405a6787658
2 years ago
Kye
266bb90c5e
clean up
...
Former-commit-id: 9d9638ee62b475883b8ed12b27e3a7c9e93606af
2 years ago
Kye
cd804d7c17
clean up
...
Former-commit-id: 583d9384edde63090c59f56ac050ff984bed0178
2 years ago
Kye
6b2179e9a5
langchain import
...
Former-commit-id: a845f0412af7ae19ab01383826682bf40e0a82d7
2 years ago
Kye
486842dbc9
callback manager
...
Former-commit-id: bef1da7c89f6d7325f97a0a9ed6fe8489faf7fac
2 years ago
Kye
40178f4280
ultra node
...
Former-commit-id: 3716c406604e7b4156bc5b04f8e6bda5a0964161
2 years ago
Kye
0aadabdf2d
clean up
...
Former-commit-id: e2413476326aa4ec67839d4758aa17b438b542c5
2 years ago
Kye
251f351cf9
clean up
...
Former-commit-id: 83d35821d43658a4cd9c72fb007f01b3e495ffd0
2 years ago
Kye
2e66081595
ultra node
...
Former-commit-id: 0151dd0668ca7d697c1c8270477110e1c704863d
2 years ago
Kye
ed9c1bdc85
ULTRA NODE
...
Former-commit-id: cf4f6a82b5e21cdc00a3d36d08032887373527e9
2 years ago
Kye
2ee83eeb54
api container
...
Former-commit-id: 4a34d04cf51a5d855afe49b2018a61da0be3ac5b
2 years ago
Kye
b3b77d0e58
clean up
2 years ago
Kye
baceee5e61
clean up
2 years ago
Kye
e9ea31c615
clean up
2 years ago
Kye
1b4e2c4a11
file path errors
2 years ago
Kye
57b87763c8
worker_node init
2 years ago
Kye
af7894164e
universal llm
2 years ago
Kye
3b90a8db1f
clean up worker_node
2 years ago
Kye
ef9377290d
worker node init
2 years ago
Kye
257ba5de71
clean up workernode init
2 years ago
Kye
ba7a031e7b
revert
2 years ago
Kye
8e1155fc6e
clean up
2 years ago
Kye
8ae7794483
clean up for swarms
2 years ago
Kye
812ac734ec
todo list is back
2 years ago
Kye
19112f1476
run_as = None
2 years ago
Kye
dbec973677
clean up
2 years ago
Kye
800b77d489
worker node run
2 years ago
Kye
bb6f737516
clean up run swarms
2 years ago
Kye
4f49427a9f
run swarms
2 years ago
Kye
f3736ac542
run as a worker
2 years ago
Kye
4d4c96b8f9
clean up with run swarms
2 years ago
Kye
e07246fa27
no planning just auto agent test
2 years ago
Kye
3adac9b8ff
clean up
2 years ago
Kye
c8f9057d24
tool requests get
2 years ago
Kye
196d933aef
requests get test
2 years ago
Kye
0483226886
openai embedding init
2 years ago
Kye
a4a7ec44de
setup 7.8
2 years ago
Kye
75dd860b5c
ImportError: cannot import name WebpageQATool from swarms.tools
2 years ago
Kye
665fe9f758
clean up setup
2 years ago
Kye
d2a814e570
llm not defined webqapage
2 years ago
Kye
26c13a7d0e
clean up
2 years ago
Kye
fa340d3f03
no unclean tools
2 years ago
Kye
17f819a9d7
unused tool errors
2 years ago
Kye
6cd49b86da
0.7.1
2 years ago
Kye
938cfdf203
cleanup init
2 years ago
Kye
a7c692f86b
no code editor or requests get for now
2 years ago
Kye
9503213a46
tools code editor + terminal + requests get +
2 years ago
Kye
58518c2910
prompt clean up
2 years ago
Kye
f3fda7a386
clear prompts
2 years ago
Kye
71cbb2e04f
prompt reliability
2 years ago
Kye
2dce7e3d04
holding off on tree of thougths prompt for now
2 years ago
Kye
2cbad5fe32
deleted create task and exceut tasks by accident
2 years ago
Kye
107dde8b55
clean up in init boss mode
2 years ago
Kye
b14aee130b
clean up for boss node
2 years ago
Kye
9772be0c48
no max iters
2 years ago
Kye
0ad9863705
In this updated code, I've removed the verbose parameter from BossNode and BabyAGI.from_llm as it's not mentioned in the BabyAGI setup code you shared. I've also removed the assert isinstance(llm, dict) check, as llm is expected to be an instance of OpenAI or a similar class, not a dictionary.
2 years ago
Kye
97af51f136
clean up run swarms
2 years ago
Kye
f61232cd98
error handling for bossnode
2 years ago
Kye
7264a5d9f5
no verbose
2 years ago
Kye
9470938eb0
worker tool node
2 years ago
Kye
8e48b2c074
clean up back to old tool logic
2 years ago
Kye
5a8a224df2
new tool style
2 years ago
Kye
abfb9a0096
workernode types
2 years ago
Kye
53334f1bdd
worker class clean up
2 years ago
Kye
9eade30aa2
clean upg
2 years ago
Kye
f63dd2d87c
new tool method
2 years ago
Kye
eb27ac8762
type valudation for auto ap
2 years ago
Kye
e6318c47dd
extensive logging for swarms and workernode
2 years ago
Kye
721b289cfd
assetions
2 years ago
Kye
3cf1707875
typing
2 years ago
Kye
f810988f1b
types
2 years ago
Kye
6e3d86f279
The root cause of this error is that the initialize_tools method in the Swarms class is passing an instance of OpenAI to the load_qa_with_sources_chain function, which then passes it to the LLMChain constructor. The LLMChain constructor expects a dictionary for the llm parameter, but it's receiving an instance of OpenAI instead.
2 years ago
Kye
a68c53c55d
init llm clean up
2 years ago
Kye
aefadb1245
openai class for run swarms
2 years ago
Kye
2e4db3fced
clean up
2 years ago
Kye
e28384e17b
chat history
2 years ago
Kye
db0ea43909
no omni agent for now
2 years ago
Kye
cc6ad042b0
no omni agent for now
2 years ago