Skip to content

Commit

Permalink
bump version and deps, fix index chat start
Browse files Browse the repository at this point in the history
  • Loading branch information
Kav-K committed Nov 14, 2023
1 parent b5c68e1 commit a50ae56
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion cogs/index_service_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ async def on_message(self, message):

async def index_chat_command(self, ctx, model):
await self.index_handler.start_index_chat(ctx, model)

pass

async def rename_user_index_command(self, ctx, user_index, new_name):
Expand Down
2 changes: 1 addition & 1 deletion gpt3discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from models.openai_model import Model


__version__ = "12.2.5"
__version__ = "12.2.6"


PID_FILE = Path("bot.pid")
Expand Down
1 change: 0 additions & 1 deletion models/index_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ async def index_chat_file(self, message: discord.Message, file: discord.Attachme
return False, None

async def start_index_chat(self, ctx, model):
await ctx.defer()
preparation_message = await ctx.channel.send(
embed=EmbedStatics.get_index_chat_preparation_message()
)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ dependencies = [
"backoff==2.2.1",
"flask==2.2.3",
"werkzeug==2.2.2",
"llama-index==0.8.68",
"llama-index==0.8.69.post1",
"pypdf==3.11.1",
"youtube_transcript_api==0.5.0",
"sentencepiece==0.1.99",
"protobuf==3.20.2",
"python-pptx==0.6.21",
"langchain==0.0.334",
"langchain==0.0.335",
"unidecode==1.3.6",
"tqdm==4.64.1",
"docx2txt==0.8",
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ sqlitedict==2.1.0
backoff==2.2.1
flask==2.2.3
werkzeug==2.2.2
llama-index==0.8.68
llama-index==0.8.69.post1
pypdf==3.11.1
youtube_transcript_api==0.5.0
sentencepiece==0.1.99
protobuf==3.20.2
python-pptx==0.6.21
sentence-transformers==2.2.2
langchain==0.0.334
langchain==0.0.335
openai-whisper
unidecode==1.3.6
tqdm==4.64.1
Expand Down
4 changes: 2 additions & 2 deletions requirements_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ sqlitedict==2.1.0
backoff==2.2.1
flask==2.2.3
werkzeug==2.2.2
llama-index==0.8.68
llama-index==0.8.69.post1
pypdf==3.11.1
youtube_transcript_api==0.5.0
sentencepiece==0.1.99
protobuf==3.20.2
python-pptx==0.6.21
langchain==0.0.334
langchain==0.0.335
unidecode==1.3.6
tqdm==4.64.1
docx2txt==0.8
Expand Down

0 comments on commit a50ae56

Please sign in to comment.