Error when packaging NVIDIA Embedding Model with RunnableWithMessageHistory #31259
Replies: 2 comments
-
When i try to run this above example with just a simple llm then it works fine. chain_with_history = RunnableWithMessageHistory( But it throws error as above when i add complete chain. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was able to resolve this issue with the help of example https://python.langchain.com/v0.1/docs/use_cases/question_answering/chat_history/#returning-sources |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
Exception: [500] Internal Server Error
{'_content': b'Internal Server Error', '_content_consumed': True, '_next': None, 'status_code': 500, 'headers': {'content-length': '21', 'content-type': 'text/plain; charset=utf-8', 'date': 'Fri, 16 May 2025 11:14:15 GMT', 'server': 'istio-envoy', 'x-envoy-upstream-service-time': '19'}, 'raw': <urllib3.response.HTTPResponse object at 0x7fa90c220190>, 'url': 'https://pcai-embedding-deployment-1-predictor-admin-6c8b1978.aie.hpelab.local/v1/embeddings', 'encoding': 'utf-8', 'history': [], 'reason': 'Internal Server Error', 'cookies': <RequestsCookieJar[]>, 'elapsed': datetime.timedelta(microseconds=26621), 'request': <PreparedRequest [POST]>, 'connection': <requests.adapters.HTTPAdapter object at 0x7fa90c221b70>}
System Info
pip freeze|grep langchain
langchain==0.1.11
langchain-community==0.0.25
langchain-core==0.1.52
langchain-nvidia-ai-endpoints==0.1.4
langchain-text-splitters==0.0.2
langchain-weaviate==0.0.4
Beta Was this translation helpful? Give feedback.
All reactions