langflow
langflow copied to clipboard
Error: 'latin-1' codec can't encode characters
Describe the bug I set up a flow where I load the document and store it in Chroma Vectorstore and try to have a chat to ask for information. However, I got this error below.
ValueError: Error: 'latin-1' codec can't encode characters in
position 7-57: ordinal not in range(256)
Browser and Version
- Browser: Edge
- Version 112.0.1722.48 (Official build) (64-bit)
To Reproduce Here is my json for the flow I set up. Please change the extension to .json to import it on langflow. Document_vector.txt
Screenshots
Came here to make the same kind of post.
Little screenshot:
I can't see how it's possible to add any Tool functions that would allow me to write a python code to format the html between the html grabber and the text splitter. Tools are red, docs are green, and ne'er shall they meet.
@pleelapr The issue is probably you are copying one API key from one OpenAI API key field to another field. When you copy the values you are copying the dots and not the API key itself. Could you make sure you are pasting the actual API key (maybe paste it somewhere else first to check).
@Captain-Bacon could you create another issue or discussion for us to discuss that? A python function between them is not possible right now, but maybe we can think of something to solve your case.