Comments (1)
I faced the exact same error. Problem was I was able to run the line:
from langsmith.run_helpers import get_run_tree_context
in python shell, which meant that the langsmith was correctly recognized as a package. Further digging helped me identify the root cause, which was a file named langsmith.py
in my code base. I needed to rename it.
How did I find that out?
I ran these commands in python shell:
import langsmith
langsmith.__file__
These commands gave me the local file location when I ran it from my code base directory but the actual package file location when ran outside the code directory. Please try the same in your code base and let me know if you still face this error.
from langchain.
Related Issues (20)
- Issue: Document loader for Notion DB doesn't supports KeyError: 'name'
- [Google Generative AI] Structured Output doesn't work with advanced schema
- Langchain RetrievalQAWithSourcesChain throwing ValueError: Missing some input keys: {'context'} HOT 3
- IME Input Handling Issue in LangChain Chat Playground
- IME Input Handling Issue in Chat LangChain HOT 2
- OllamaFunction returns Object of type ModelMetaclass is not JSON serializable following example on documentation
- how to insert id_prefix when upserting using langchain pinecone.from_documents??? or what is the alternative? because id_prefix is very important when we want to delete specific vectors
- how to insert id_prefix when upserting using langchain pinecone.from_documents??? or what is the alternative? because id_prefix is very important when we want to delete specific vectors #24235
- DOC: <Please wri知识库交叉融合,在项目使用中,我有一些公用知识库和私有知识库,我想在回答的时候将私有知识库和公用的知识库结合起来,这怎么实现?后期可以更新吗te a comprehensive title after the 'DOC: ' prefix>
- LangChain AzureOpenAIEmbeddings is not working due to model trying to access microsoft HOT 1
- No module named 'langchain.transformers' HOT 3
- issue using tools with ollama local models
- variable chat_history should be a list of base messages, got HOT 2
- Missing key error - Using PromptTemplate and GraphCypherQAChain. HOT 8
- AzureSearch vector store does not support access token authentication. FIX Suggested HOT 2
- TavilySearch parameters don't change the output. HOT 6
- An output parsing error occurred.
- raise ValueError( ValueError: OpenAIChat currently only supports single prompt, got
- ConnectError: [Errno -3] Temporary failure in name resolution HOT 1
- cannot import name 'cast' from 'typing_extensions' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchain.