Giter Site home page Giter Site logo

gia-guar / jarvis-chatgpt Goto Github PK

View Code? Open in Web Editor NEW
367.0 21.0 85.0 109.72 MB

A Conversational Assistant equipped with synthetic voices including J.A.R.V.I.S's. Powered by OpenAI and IBM Watson APIs and a Tacotron model for voice generation.

License: MIT License

Python 95.85% HTML 2.18% Cython 0.07% Batchfile 0.29% PowerShell 0.49% TeX 1.13%
ai chat-gpt-3 ibm-watson jarvis-ai openai python tacotron speech-recognition tts chatgpt

jarvis-chatgpt's Issues

S2_API_KEY error

I apoligize for bringing this to your attention as I know your away from the project. I think I am missing something here, I keep ketting a missing S2_API_KEY = os.environ['S2_API_KEY'] error. It will not load past this point, I cant seem to find the problem. Am I being blind here? Located in Assistant/semantic_scholar/simple.py. Again sorry for dragging you back to the project, I know your busy with other things. Thank you for taking the time.

Problem with aspose KeyError: 'aspose.pdf'

Hello,
Sorry to bother you, i tried to install and use your project but i keep getting an error

`D:\Programmes\JARVIS-ChatGPT-main>call .\jarvis_venv\Scripts\activate

LOADING CREDENTIALS

D:\Programmes\JARVIS-ChatGPT-main\jarvis_venv\lib\site-packages\langchain_init_.py:34: UserWarning: Importing OpenAI from langchain root module is no longer supported. Please use langchain.llms.OpenAI instead.
warnings.warn(
D:\Programmes\JARVIS-ChatGPT-main\jarvis_venv\lib\site-packages\langchain_init_.py:34: UserWarning: Importing LLMChain from langchain root module is no longer supported. Please use langchain.chains.LLMChain instead.
warnings.warn(
D:\Programmes\JARVIS-ChatGPT-main\jarvis_venv\lib\site-packages\langchain_init_.py:34: UserWarning: Importing PromptTemplate from langchain root module is no longer supported. Please use langchain.prompts.PromptTemplate instead.
warnings.warn(
Traceback (most recent call last):
File "D:\Programmes\JARVIS-ChatGPT-main\openai_api_chatbot.py", line 5, in
from Assistant.research_mode import ResearchAssistant
File "D:\Programmes\JARVIS-ChatGPT-main\Assistant\research_mode.py", line 9, in
from Assistant.semantic_scholar.agent_tools import *
File "D:\Programmes\JARVIS-ChatGPT-main\Assistant\semantic_scholar\agent_tools.py", line 6, in
from . import S2_tools as scholar
File "D:\Programmes\JARVIS-ChatGPT-main\Assistant\semantic_scholar\S2_tools.py", line 6, in
import aspose.pdf as ap
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 635, in _load_backward_compatible
KeyError: 'aspose.pdf'`

I tried to fix it myself but it's beef a couple hours and i can't find any solution.
Could you help me fix it please ?

Linux compatibility

Hi, this looks like a really cool project! I wanted to give it a try on arch linux, but when I install the venv_requirements.txt dependencies in a virtual environment with python 3.8, I get the following error:

ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python >=3.9,<4.0; 2.10.0 Requires-Python >=2.7,<3.0; 2.3.0 Requires-Python >=2.7,<3.0; 2.4.0 Requires-Python >=2.7,<3.0; 2.5.0 Requires-Python >=2.7,<3.0; 2.6.0 Requires-Python >=2.7,<3.0; 2.7.0 Requires-Python >=2.7,<3.0; 2.8.0 Requires-Python >=2.7,<3.0; 2.9.0 Requires-Python >=2.7,<3.0; 8.13.1 Requires-Python >=3.9; 8.13.2 Requires-Python >=3.9
ERROR: Could not find a version that satisfies the requirement pywin32==304 (from versions: none)
ERROR: No matching distribution found for pywin32==304

Typo on venv_requirements.txt

Hi,
Just noticed a typo in venv_requirements. I think elevnlabslib should be elevenlabslib. I had the following error and this fixed it for me
ERROR: Could not find a version that satisfies the requirement elevnlabslib (from versions: none)

Error

I just installed Jarvis via the "setup" file and put my API key in the .env file, but now that I try to start it via the "run" file I get this error:
C:\Users\User\Desktop\JARVIS-main\JARVIS-main>call .\jarvis_venv\Scripts\activate
The specified path could not be found.

C:\Users\User\Desktop\JARVIS-main\JARVIS-main>python openai_api_chatbot.py

LOADING CREDENTIALS

Traceback (most recent call last):
File "C:\Users\User\Desktop\JARVIS-main\JARVIS-main\openai_api_chatbot.py", line 7, in
if len(os.environ['OPENAI_API_KEY'])==0:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\os.py", line 680, in getitem
raise KeyError(key) from None
KeyError: 'OPENAI_API_KEY'

Secret key in file!

There is a key to your openai account in the local_search_engine_demo.py, and it says that there is also one in the davinci_demo. I would recommend removing them as soon as possible

ERROR W pip install venv_requirements.txt

(FRIDAY) NO-MacBook-Pro desktop % pip install venv_requirements.txt
ERROR: Could not find a version that satisfies the requirement venv_requirements.txt (from versions: none)
ERROR: No matching distribution found for venv_requirements.txt
(FRIDAY) NO-MacBook-Pro desktop % python3 --version
Python 3.7.0

There is also an error with

(ayo) NO-MacBook-Pro desktop % pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113

Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113
ERROR: Could not find a version that satisfies the requirement torch==1.12.1+cu113 (from versions: 0.4.1, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0, 1.1.0.post2, 1.2.0, 1.3.0, 1.3.0.post2, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1)
ERROR: No matching distribution found for torch==1.12.1+cu113

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.