Skip to content
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

I removed everything and still can not get past this. Help please! #203

Open
SavageHobbies opened this issue Oct 20, 2024 · 1 comment
Open

Comments

@SavageHobbies
Copy link

Screenshot 2024-10-20 121550
Traceback (most recent call last):
File "C:\ProgramData\miniconda3\envs\a0\Lib\site-packages\openai_streaming.py", line 147, in aiter
async for item in self._iterator:
File "C:\ProgramData\miniconda3\envs\a0\Lib\site-packages\openai_streaming.py", line 174, in stream
raise APIError(
openai.APIError: Requested generation length 1024 is not possible! The provided prompt is 3761 tokens long, so generating 1024 tokens requires a sequence length of 4785, but the maximum supported sequence length is just 4096!

I had restructured my computer because of main c:/ drive free space. I now have agent zero on my P:\ drive. I have reinstalled everything I can think of. Yes I am in conda environment for A0

WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

User message:

Hello
Initializing VectorDB...
Found 2 knowledge files in P:\A0\knowledge\default\main, processing...
Processed 6 documents from 2 files.
Processed 0 documents from 0 files.
Found 1 knowledge files in P:\A0\knowledge\default\solutions, processing...
Processed 1 documents from 1 files.
Processed 0 documents from 0 files.
Processed 0 documents from 0 files.
Processed 0 documents from 0 files.
Processed 0 documents from 0 files.
Processed 0 documents from 0 files.
Found 1 knowledge files in P:\A0\instruments, processing...
Processed 1 documents from 1 files.
No relevant docs were retrieved using the relevance score threshold 0.6
No relevant docs were retrieved using the relevance score threshold 0.6

@thepros2014
Copy link

if you haven't already pay for openai. it is a paid platform when you use there api services. They only offer free on there website. API key allowyou to used there services externally. Try using ollama instead. Its free local and there are lots of llMS to choose from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants