Skip to content

Commit

Permalink
feat: add vllm and bingbot
Browse files Browse the repository at this point in the history
  • Loading branch information
ZackBradshaw committed Oct 28, 2023
1 parent ed5c8ee commit e821ef7
Show file tree
Hide file tree
Showing 36 changed files with 220 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ image/
audio/
video/
dataframe/
output/*

static/generated
swarms/__pycache__
183 changes: 183 additions & 0 deletions apps/BingBot/discord_bot.log

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions error.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Traceback (most recent call last):
File "/home/zack/code/swarms/bingchat.py", line 1, in <module>
from swarms.models.bing_chat import BingChat
File "/home/zack/code/swarms/swarms/__init__.py", line 12, in <module>
from swarms.workers import *
File "/home/zack/code/swarms/swarms/workers/__init__.py", line 1, in <module>
from swarms.workers.worker import Worker
File "/home/zack/code/swarms/swarms/workers/worker.py", line 6, in <module>
from langchain.chains.qa_with_sources.loading import (
File "/home/zack/miniconda3/lib/python3.9/site-packages/langchain/__init__.py", line 6, in <module>
from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
File "/home/zack/miniconda3/lib/python3.9/site-packages/langchain/agents/__init__.py", line 2, in <module>
from langchain.agents.agent import (
File "/home/zack/miniconda3/lib/python3.9/site-packages/langchain/agents/agent.py", line 16, in <module>
from langchain.agents.tools import InvalidTool
File "/home/zack/miniconda3/lib/python3.9/site-packages/langchain/agents/tools.py", line 4, in <module>
from langchain.callbacks.manager import (
File "/home/zack/miniconda3/lib/python3.9/site-packages/langchain/callbacks/__init__.py", line 3, in <module>
from langchain.callbacks.aim_callback import AimCallbackHandler
File "/home/zack/miniconda3/lib/python3.9/site-packages/langchain/callbacks/aim_callback.py", line 4, in <module>
from langchain.callbacks.base import BaseCallbackHandler
File "/home/zack/miniconda3/lib/python3.9/site-packages/langchain/callbacks/base.py", line 7, in <module>
from langchain.schema import (
File "/home/zack/miniconda3/lib/python3.9/site-packages/langchain/schema.py", line 147, in <module>
class ChatGeneration(Generation):
File "/home/zack/miniconda3/lib/python3.9/site-packages/langchain/schema.py", line 154, in ChatGeneration
def set_text(cls, values: Dict[str, Any]) -> Dict[str, Any]:
File "/home/zack/miniconda3/lib/python3.9/site-packages/pydantic/deprecated/class_validators.py", line 222, in root_validator
return root_validator()(*__args) # type: ignore
File "/home/zack/miniconda3/lib/python3.9/site-packages/pydantic/deprecated/class_validators.py", line 228, in root_validator
raise PydanticUserError(
pydantic.errors.PydanticUserError: If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`. Note that `@root_validator` is deprecated and should be replaced with `@model_validator`.

For further information visit https://errors.pydantic.dev/2.4/u/root-validator-pre-skip
2 changes: 2 additions & 0 deletions flagged/log.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Story Concept,Generate Next Part,output,flag,username,timestamp
,,,,,2023-10-24 14:16:02.773786
Binary file added output/0.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/10.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/11.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/12.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/13.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/14.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/15.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/16.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/17.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/18.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/19.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/20.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/21.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/22.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/23.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/24.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/25.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/26.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/27.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/28.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/29.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/30.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/31.jpeg
Binary file added output/4.jpeg
Binary file added output/5.jpeg
Binary file added output/6.jpeg
Binary file added output/7.jpeg
Binary file added output/8.jpeg
Binary file added output/9.jpeg

0 comments on commit e821ef7

Please sign in to comment.