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

Building a PDF-Chat App using LangChain, OpenAI API & Streamlit #1

Open
sailendukumar opened this issue Jul 6, 2023 · 1 comment
Open

Comments

@sailendukumar
Copy link

While implementing the code getting below error which is related to ChromaDB. Any idea how to get rid of it? or any suggestion to use an alternate vector DB?

ValueError: Expected collection name that (1) contains 3-63 characters, (2) starts and ends with an alphanumeric character, (3) otherwise contains only alphanumeric characters, underscores or hyphens (-), (4) contains no two consecutive periods (..) and (5) is not a valid IPv4 address, got Pdf
Traceback:

@vincfor
Copy link

vincfor commented Jul 20, 2023

On line 64 of app.py changes Pdf to pdf. Capitalization is not allowed for Chroma collection names.

^[a-z0-9][a-z0-9._-]*[a-z0-9]$

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