James Shapiro

Results 6 comments of James Shapiro

I am also running into this, going through the langchain quickstart guide.

Note: This is a pretty hacky solution, but I noticed that the error was prefixing the desired JSON with some non-json text. Editing `/opt/homebrew/lib/python3.11/site-packages/langchain/output_parsers/json.py` as follows: ```python def parse_json_markdown(json_string: str)...

Running into the same issue, and @aldhalaan, I triple-checked that they are configured for the same Python runtime version. Did not fix the issue.

@pacarvalho Either 3.8 or 3.6, I'm pretty sure it was 3.8 though. Finally managed to install cv2 as a Lambda layer by following the instructions in the top answer on...

@nielswart I recommend following Marcin's advice here: https://stackoverflow.com/questions/64016819/cant-use-opencv-python-in-aws-lambda . I found the instructions in this repo completely useless.

> I'd like to give an update on what I did to work around this issue: > > At first I updated the Dockerfile in this repository to also include...