Giter Club home page Giter Club logo

intelligenzaartificiale / free-personal-ai-assistant-with-plugin Goto Github PK

View Code? Open in Web Editor NEW
134.0 6.0 67.0 95 KB

๐Ÿค— Would you like to use GPT4 with Plugins but don't want to pay $20/month? This is the solution! With this repository you can have free clone of ChatGPT with plugin

License: GNU General Public License v3.0

Python 100.00%
autogpt chatbot-engine chatbot-platform chatgpt chatgpt-api chatgpt-bot chatgpt-plugins free-chatgpt free-gpt4 gpt-3

free-personal-ai-assistant-with-plugin's Introduction

๐Ÿค—๐Ÿ’ฌ ChatGPT but with STEROIDs and free๐Ÿš€


This app is an LLM-based chatbot created to give anyone๐Ÿค— the possibility to use PLUGINS, like internet, Multi pdf, YoutubeVideo, Audio, etc.. , without paying anything ๐Ÿ˜ฎ Don't you trust it? TRY IT๐Ÿง‘โ€๐Ÿ’ป



See the Demo ๐Ÿ‘‡

Demo.mp4


Current PLUGIN


WebSearch ๐ŸŒ

๐Ÿš€Search on web

๐Ÿง‘โ€๐Ÿ’ป Set up the plugin

image

๐Ÿค— Enjoi it

image

๐Ÿšจ ChatGPT response

image


Web Scraping ๐Ÿ”—

๐Ÿš€Talk with your preferite webisites

๐Ÿง‘โ€๐Ÿ’ป Set up the plugin

image

๐Ÿค— Enjoi it

image

๐Ÿšจ BingChat response

image


Talk with Data ๐Ÿ“Š

๐Ÿš€Perfect plugin for data analyst and data scientist !

๐Ÿง‘โ€๐Ÿ’ป Set up the plugin

image

๐Ÿค— Enjoi it

image

image

๐Ÿšจ No FREE options to compare


Multi Documents support ( PDF , DOCX , TXT ) ๐Ÿ“š

๐Ÿš€Talk with your document in one click

๐Ÿง‘โ€๐Ÿ’ป Set up the plugin

image

๐Ÿค— Enjoi it

image

๐Ÿšจ chatpdf.com response

image


Talk with AUDIO ๐ŸŽง

๐Ÿš€Talk with mp3 or wav with one click

๐Ÿง‘โ€๐Ÿ’ป Set up the plugin

image

๐Ÿค— Enjoi it

image

๐Ÿšจ No FREE options to compare


Talk with Youtube Video ๐Ÿ“บ

๐Ÿš€We love this plugin, its crazy

๐Ÿง‘โ€๐Ÿ’ป Set up the plugin

image

๐Ÿค— Enjoi it

image

๐Ÿšจ No FREE options to compare


GOD MODE ๐Ÿช„ give custom knowledge to your chat

๐Ÿš€This plugin able the chat to make a custom knowledge from a single topic

๐Ÿง‘โ€๐Ÿ’ป Set up the plugin

image image

๐Ÿค— Enjoi it

image

๐Ÿšจ No FREE options to compare



How to use ๐Ÿ’ป

  • Try it online

    • No installation needed
    • Streamlit App
  • Or install Locally

    • ๐Ÿ’พ Download the repository
    • ๐Ÿ”— Exctract it
    • ๐Ÿ›‘ Install the requirements.txt
    • โœ… Run streamlit run streamlit_app.py
    • ๐Ÿš€ Enjoy it


How to contribute ๐Ÿค

  • Fork the repository
  • Clone the repository
  • Create a new branch
  • Commit your changes
  • Push your changes
  • Open a pull request
  • Develop new plugins


Disclaimer

The following disclaimer is from the GitHub repo from the authors of the HugChat port.

When you use this project, it means that you have agreed to the following two requirements of the HuggingChat:

AI is an area of active research with known problems such as biased generation and misinformation. Do not use this application for high-stakes decisions or advice. Your conversations will be shared with model authors.

HugChat is an unofficial port to the HuggingFace Chat API that is powered by the OpenAssistant/oasst-sft-6-llama-30b-xor LLM model.

free-personal-ai-assistant-with-plugin's People

Contributors

intelligenzaartificiale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

free-personal-ai-assistant-with-plugin's Issues

ChatError: Failed to parse response: {"type":"status","status":"started"}

Hi @IntelligenzaArtificiale

Great work! Exactly what I was looking for.

I have used the streamlit link in the ReadMe, as well as using the repo locally on my PC, but i get the following error:

`ChatError: Failed to parse response: {"type":"status","status":"started"}

Traceback (most recent call last):
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\hugchat\hugchat.py", line 263, in chat
obj = json.loads(res[1:-1])
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\AppData\Local\Programs\Python\Python311\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 7 (char 6)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in run_scr
ipt
exec(code, module.dict)
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\streamlit_app.py", line 970, in
response = generate_response(input_text)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\streamlit_app.py", line 957, in generate_response
response = st.session_state['chatbot'].chat(final_prompt, temperature=temperature, top_p=top_p,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\hugchat\hugchat.py", line 267, in chat
raise ChatError(f"Failed to parse response: {res}")
hugchat.exceptions.ChatError: Failed to parse response: {"type":"status","status":"started"}
2023-09-28 10:07:54.567 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\hugchat\hugchat.py", line 263, in chat
obj = json.loads(res[1:-1])
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\AppData\Local\Programs\Python\Python311\Lib\json_init
.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 7 (char 6)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _run_scr
ipt
exec(code, module.dict)
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\streamlit_app.py", line 970, in
response = generate_response(input_text)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\streamlit_app.py", line 909, in generate_response
result = st.session_state['yt']({"query": prompt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\base.py", line 166, in call
raise e
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\base.py", line 160, in call
self._call(inputs, run_manager=run_manager)
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\retrieval_qa\base.py", line 120, in _call
answer = self.combine_documents_chain.run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\base.py", line 293, in run
return self(kwargs, callbacks=callbacks, tags=tags)[_output_key]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\base.py", line 166, in call
raise e
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\base.py", line 160, in call
self._call(inputs, run_manager=run_manager)
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\combine_documents\base.py", line 84, in _call
output, extra_return_dict = self.combine_docs(
^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\combine_documents\stuff.py", line 87, in combine_docs
return self.llm_chain.predict(callbacks=callbacks, **inputs), {}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\llm.py", line 252, in predict
return self(kwargs, callbacks=callbacks)[self.output_key]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\base.py", line 166, in call
raise e
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\base.py", line 160, in call
self._call(inputs, run_manager=run_manager)
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\llm.py", line 92, in _call
response = self.generate([inputs], run_manager=run_manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\chains\llm.py", line 102, in generate
return self.llm.generate_prompt(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\llms\base.py", line 141, in generate_prompt
return self.generate(prompt_strings, stop=stop, callbacks=callbacks, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\llms\base.py", line 227, in generate
output = self._generate_helper(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\llms\base.py", line 178, in _generate_helper
raise e
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\llms\base.py", line 165, in _generate_helper
self._generate(
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\langchain\llms\base.py", line 527, in _generate
else self._call(prompt, stop=stop, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\HuggingChatAPI.py", line 46, in _call
data = self.chatbot.chat(prompt, temperature=0.4, stream=False) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\myPC\PycharmProjects\AllForOneChatbot\venv\Lib\site-packages\hugchat\hugchat.py", line 267, in chat
raise ChatError(f"Failed to parse response: {res}")
hugchat.exceptions.ChatError: Failed to parse response: {"type":"status","status":"started"}`

I have tried searching for the error, but there are no solutions online. I have a feeling it is to do with the huggingface API key, although I could be wrong.

Please can you advise me on what could be the issue?

OpenAI APIs

Hi. Awesome project!
I am just wondering if it is possible to use OpenAI APIs instead of Hugging Chat APIs?ย 

UnicodeEncodeError: 'charmap' codec can't encode characters in position 59-62: character maps to <undefined>

PS D:\Ai\hugchat-with-plugin-Free-personal-AI-Assistant> streamlit run streamlit_app.py

You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501
Network URL:

c:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
You're using a different task than the one specified in the repository. Be sure to know what you're doing :)
WARNING:huggingface_hub.inference_api:You're using a different task than the one specified in the repository. Be sure to know what you're doing :)
2023-08-18 06:53:29.824 Uncaught app exception
Traceback (most recent call last):
File "c:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "D:\Ai\hugchat-with-plugin-Free-personal-AI-Assistant\streamlit_app.py", line 727, in
export_chat()
File "D:\Ai\hugchat-with-plugin-Free-personal-AI-Assistant\exportchat.py", line 42, in export_chat
f.write(html_chat)
File "c:\Users\User\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode characters in position 59-62: character maps to

Error: "Failed to create new conversation. (6)"

Hi, I installed the app and registered in HuggingFace but cannot sign in to the app even though I get a "New Login" email everytime I enter the credentials.
Every time I press on Login, I get the following messages:
"Failed to create new conversation. (6)"
"โš ๏ธ Please check your credentials and try again."
"Don't abuse the API"
"โš ๏ธ If you don't have an account, you can register here."

Error Streamlit_app.py

Hi,

I had cloned the repository to local machine and created the environment with python 3.10 version and install the requirements.txt packages and try to run the streamlit_app.py but i am getting this error

(D:\My projects\Personal-AI-Assitant\venv) D:\My projects\Personal-AI-Assitant>streamlit run streamlit run streamlit_app.py
Traceback (most recent call last):
File "C:\Users\Admin\anaconda3\Scripts\streamlit-script.py", line 6, in
from streamlit.cli import main
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit_init_.py", line 55, in
from streamlit.delta_generator import DeltaGenerator as DeltaGenerator
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\delta_generator.py", line 38, in
from streamlit import config, cursor, env_util, logger, runtime, type_util, util
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\cursor.py", line 18, in
from streamlit.runtime.scriptrunner import get_script_run_ctx
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\runtime_init
.py", line 16, in
from streamlit.runtime.runtime import Runtime as Runtime
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\runtime\runtime.py", line 28, in
from streamlit.runtime.app_session import AppSession
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\runtime\app_session.py", line 35, in
from streamlit.runtime import caching, legacy_caching
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\runtime\caching_init_.py", line 21, in
from streamlit.runtime.state.session_state import WidgetMetadata
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\runtime\state_init_.py", line 16, in
from streamlit.runtime.state.safe_session_state import (
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\runtime\state\safe_session_state.py", line 20, in
from streamlit.runtime.state.session_state import (
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\runtime\state\session_state.py", line 44, in
from streamlit.type_util import ValueFieldName, is_array_value_field_name
File "C:\Users\Admin\anaconda3\lib\site-packages\streamlit\type_util.py", line 35, in
import pyarrow as pa
File "C:\Users\Admin\anaconda3\lib\site-packages\pyarrow_init_.py", line 65, in
import pyarrow.lib as _lib
ImportError: DLL load failed while importing lib: The specified procedure could not be found.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.