@@ -1 +0,0 @@ | |||||
from . import config, consts, models |
@@ -4,7 +4,7 @@ from datetime import datetime | |||||
from eloquent import Model | from eloquent import Model | ||||
from config import DB | |||||
from .config import DB | |||||
class AnsweredFlag (Model): | class AnsweredFlag (Model): | ||||
@@ -4,10 +4,10 @@ import random | |||||
from datetime import datetime | from datetime import datetime | ||||
from typing import TypedDict | from typing import TypedDict | ||||
from config import DB | |||||
from consts import AnswerType, Character, Platform | |||||
from models import Answer, AnsweredFlag, Query, User | |||||
from talk import Talk | |||||
from .config import DB | |||||
from .consts import AnswerType, Character, Platform | |||||
from .models import Answer, AnsweredFlag, Query, User | |||||
from .talk import Talk | |||||
def main ( | def main ( | ||||
@@ -15,7 +15,7 @@ from openai.types.chat import (ChatCompletionAssistantMessageParam, | |||||
ChatCompletionUserMessageParam) | ChatCompletionUserMessageParam) | ||||
from openai.types.chat.chat_completion_message import ChatCompletionMessage | from openai.types.chat.chat_completion_message import ChatCompletionMessage | ||||
from connection import OPENAI_API_KEY, OPENAI_ORGANISATION # type: ignore | |||||
from .connection import OPENAI_API_KEY, OPENAI_ORGANISATION # type: ignore | |||||
class Talk: | class Talk: | ||||