Skip to content

Commit

Permalink
refactor file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ZackBradshaw committed Oct 28, 2023
1 parent 43c4eb3 commit ceae8e3
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 5 deletions.
28 changes: 28 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[tool.poetry]
name = "bingchat"
version = "1.9.5"
description = "Bing-Chat-API"
authors = ["Zack Bradshaw <[email protected]>"]
license = "MIT"

[tool.poetry.dependencies]
python = "^3.6"
aiohttp = "*"
BingImageCreator = "*"
certifi = "*"
httpx = "*"
prompt_toolkit = "*"
requests = "*"
rich = "*"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
bing-chat = "main:main"

[tool.poetry.urls]
"Bug Report" = "https://github.com/Agora-X/Bing-Chat-API/issues/new"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="bing-chat",
version="1.9.3",
version="1.9.4",
license="MIT",
author="Zack Bradshaw",
author_email="[email protected]",
Expand Down
File renamed without changes.
5 changes: 2 additions & 3 deletions src/EdgeGPT/EdgeUtils.py → src/bing_chat/BingUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

from log2d import Log

from .EdgeGPT import Chatbot
from .EdgeGPT import ConversationStyle
from .ImageGen import ImageGen
from bing_chat.BingGPT import Chatbot, ConversationStyle
from bing_chat.ImageGen import ImageGen

Log("BingChat")
log = Log.BingChat.debug # shortcut to create a log entry
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/EdgeGPT/main.py → src/bing_chat/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys
from pathlib import Path

from EdgeGPT.EdgeGPT import Chatbot
from BingGPT import Chatbot
from prompt_toolkit import PromptSession
from prompt_toolkit.auto_suggest import AutoSuggestFromHistory
from prompt_toolkit.completion import WordCompleter
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit ceae8e3

Please sign in to comment.