kyegomez / the-compiler

Seed, Code, Harvest: Grow Your Own App with Tree of Thoughts!

Home Page:https://discord.gg/qUtxnK2NMf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError while running readme example

rahulvramesh opened this issue · comments

ImportError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from the_compiler import Architect, Developer, UnitTester
2
3 # Initialize the components
4 architect = Architect()
5 developer = Developer()

/usr/local/lib/python3.10/dist-packages/the_compiler/the_compiler.py in
1 #autonmous agent load balancing add more agents to spec interpreter, add more agents to spec generate or unit tester, default is 3 1 for each, use your own llms, starcoder, reinforcement backed individual agent learning, particle swarm tree of thoughts -> run tree of thoughts on the space of all thoughts ran by agents as trees of an networked swarm system, use autogpt config and env with embedding retriveal search, map all thoughts to an embedding database, while now tester is not done keep running in a while loop, agentgpt with autoforestgpt, program optimizer agent works in unison with the generator to optimize code. Create 5 optimizations for this code: {code}
2 #inital implementation of the compiler
----> 3 from tree_of_thoughts import OptimizedTreeofThoughts, OptimizedOpenAILanguageModel
4 import subprocess
5 import json

ImportError: cannot import name 'OptimizedTreeofThoughts' from 'tree_of_thoughts' (/usr/local/lib/python3.10/dist-packages/tree_of_thoughts/init.py)

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar