diff --git a/DAIA.py b/DAIA.py index 5bb3575..74544ef 100644 --- a/DAIA.py +++ b/DAIA.py @@ -10,6 +10,9 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . from DAIA_GPT4V.run import run from config import openai_api_key diff --git a/DAIA_GPT4V/DVAI/GPT_4_with_Vision.py b/DAIA_GPT4V/DVAI/GPT_4_with_Vision.py index 7b97659..c195713 100644 --- a/DAIA_GPT4V/DVAI/GPT_4_with_Vision.py +++ b/DAIA_GPT4V/DVAI/GPT_4_with_Vision.py @@ -10,6 +10,9 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . from openai import OpenAI import base64 diff --git a/DAIA_GPT4V/Memory/memory.py b/DAIA_GPT4V/Memory/memory.py index 11f34e1..713f375 100644 --- a/DAIA_GPT4V/Memory/memory.py +++ b/DAIA_GPT4V/Memory/memory.py @@ -10,6 +10,9 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . from sqlalchemy import Column, Integer, String, ForeignKey, create_engine from sqlalchemy.orm import relationship, sessionmaker, declarative_base diff --git a/DAIA_GPT4V/OS_control/os_controller.py b/DAIA_GPT4V/OS_control/os_controller.py index 585eb32..e263534 100644 --- a/DAIA_GPT4V/OS_control/os_controller.py +++ b/DAIA_GPT4V/OS_control/os_controller.py @@ -10,6 +10,9 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . import pyautogui import platform diff --git a/DAIA_GPT4V/Thinker/thinking.py b/DAIA_GPT4V/Thinker/thinking.py index c4c614a..13f510d 100644 --- a/DAIA_GPT4V/Thinker/thinking.py +++ b/DAIA_GPT4V/Thinker/thinking.py @@ -10,6 +10,9 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . from DAIA_GPT4V.Memory.memory import Memory from DAIA_GPT4V.OS_control.os_controller import OSController @@ -35,9 +38,9 @@ def __init__(self, key: str, goal: str, goal_id: int): ) def goal_completer(self, suggestions: str): - '''' + """' Compleate goals - ''' + """ setup() @@ -583,8 +586,7 @@ def save_action(self, action1: str, action2: str, category: int): Please use the provided context to extract and present the most important data from the input. """, ) - important_data = self.get_important_data( - full_data, previous_important_data) + important_data = self.get_important_data(full_data, previous_important_data) # Save the action new_action = memory.create_action_object( diff --git a/DAIA_GPT4V/run.py b/DAIA_GPT4V/run.py index 1b88472..23127ba 100644 --- a/DAIA_GPT4V/run.py +++ b/DAIA_GPT4V/run.py @@ -10,6 +10,9 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . from DAIA_GPT4V.Thinker.thinking import Think from openai import OpenAI diff --git a/utils/setup.py b/utils/setup.py index 17aae36..af64bbc 100644 --- a/utils/setup.py +++ b/utils/setup.py @@ -10,6 +10,9 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . from pathlib import Path import os