-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run "pip install -r requirements.txt" #1
Comments
I am also having this issue |
Added requirements.txt file now. Please check |
Yea, that works, issue can be closed. Following the instruction " Set OPENAI_API_KEY environment variable with your openai key " . Where does the API key need to be inserted. |
I am having the same issue as above |
@itsthemoon What issue are you facing ? |
Hi Anil, here is the log below. I wanted to know where the
"OPENAI_API_KEY" would be inserted. I would be great to have a video or
else some working instructions, docker or something like that. Thanks Anil.
***@***.***:/home/po/Chat-Youtube# python chat_youtube.py
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3
***@***.***:/home/po/Chat-Youtube# python3 chat_youtube.py
Traceback (most recent call last):
File "/home/po/Chat-Youtube/chat_youtube.py", line 4, in <module>
index = VectorstoreIndexCreator().from_loaders([loader])
File "pydantic/main.py", line 339, in pydantic.main.BaseModel.__init__
File "pydantic/main.py", line 1066, in pydantic.main.validate_model
File "pydantic/fields.py", line 439, in
pydantic.fields.ModelField.get_default
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for
OpenAIEmbeddings
…__root__
Did not find openai_api_key, please add an environment variable
`OPENAI_API_KEY` which contains it, or pass `openai_api_key` as a named
parameter. (type=value_error)
***@***.***:/home/po/Chat-Youtube#
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Sun, May 21, 2023 at 3:36 PM Anil Chandra Naidu Matcha < ***@***.***> wrote:
@itsthemoon <https://github.com/itsthemoon> What issue are you facing ?
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2JM4UFZSKNQLMM7TTECMEDXHHSI5ANCNFSM6AAAAAAYF2YGYE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@neo-seeker You need to set it as an environment variable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Eager to install and run on Conda environment. But unable to find ==> "pip install -r requirements.txt".
The text was updated successfully, but these errors were encountered: