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

AttributeError: 'DataFrame' object has no attribute 'embedding' #1

Open
asgiraldoc opened this issue Aug 20, 2023 · 4 comments
Open

Comments

@asgiraldoc
Copy link

Hey Matt,

I was trying to run your chatbot, but I got this error. I found in your chatbot code this comment:

 # Changing the format of the embeddings into a list due to a parsing error

Any idea? Thanks.

@MattNikonorov
Copy link
Owner

hey, I just found out that there was an indentation error in "embeddings.py" which made the whole code error out. Try running the new "embeddings.py" file and then running the "chatbot.py" file.

@asgiraldoc
Copy link
Author

Hey Matt, it worked. Thanks. Just a comment, you left your API key in the new embeddings.py file.

@MattNikonorov
Copy link
Owner

great to hear, and thanks for telling me about the API key.

@asgiraldoc
Copy link
Author

Matt, I was using the chatbot which I trained with several of my documents, however, the response is a generic answer, very similar to what I would get in chatGPT. That is, I asked a specific question about the data I used for training, and it still gave me a generic answer. What do you think could be happening? Can be the prompt?

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