Skip to content

Commit

Permalink
Major changes to the code and documentation
Browse files Browse the repository at this point in the history
Updated: (DAIA.py, run.py, think.py, OS_controll dir, utils dir, README.md, Design dir)
Added: (setup.py, GPT4V, OS_controller.py, Evaluator dir)
Removed: (openaicaller.py, OS_controll dir files, Actions dir)

And added much more documentation.
  • Loading branch information
Code7G committed Nov 23, 2023
1 parent f0341c1 commit da7c4ec
Show file tree
Hide file tree
Showing 29 changed files with 2,837 additions and 1,507 deletions.
13 changes: 7 additions & 6 deletions DAIA.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import asyncio
#from
from DAIA_GPT4V.run import run
from config import openai_api_key


async def main(key: str = None) -> None:
def main(key: str = None) -> None:
# Checking API Key
if not key or len(key) <= 0 or key == "":
input_api_key = ""
Expand All @@ -21,7 +20,9 @@ async def main(key: str = None) -> None:
# User Interaction
try:
option = int(
input("\nOptions\n[1] DAIA_GoalTimed\n[2] DAIA_Constant\n\nSelect Option: ")
input(
"\nOptions\n[1] DAIA_GPT-4-with-Vision\n[2] DAIA_Continues\n\nSelect Option: "
)
)

except ValueError:
Expand All @@ -30,7 +31,7 @@ async def main(key: str = None) -> None:

match option:
case 1:
return await run(api_key=key)
return run(api_key=key)

case 2:
return print("Currently Unavaiable.")
Expand All @@ -40,4 +41,4 @@ async def main(key: str = None) -> None:


if __name__ == "__main__":
asyncio.run(main(openai_api_key))
main(openai_api_key)
1 change: 0 additions & 1 deletion DAIA_(GPT-4-Turbo-with-Vision)/Actions/DVAI.py

This file was deleted.

1 change: 0 additions & 1 deletion DAIA_(GPT-4-Turbo-with-Vision)/Actions/action_runner.py

This file was deleted.

1 change: 0 additions & 1 deletion DAIA_(GPT-4-Turbo-with-Vision)/Actions/action_viewer.py

This file was deleted.

27 changes: 0 additions & 27 deletions DAIA_(GPT-4-Turbo-with-Vision)/OS_control/DAIA_client_control.py

This file was deleted.

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions DAIA_(GPT-4-Turbo-with-Vision)/OS_control/Server_files/server.py

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit da7c4ec

Please sign in to comment.