Comments (5)
It works in a python shell but not in my anaconda jupyter notebook.
from anthropic-sdk-python.
We'd like to ensure this library works in anaconda jupyter notebooks, so I'll reopen this until we've been able to investigate. Can you share any more information about your setup?
from anthropic-sdk-python.
Ah well I discovered it was a package library conflict. I did a work around, but it might be worth looking into resolving since I'm fairly certain it's a conflict with the llama_index or langchain packages.
from anthropic-sdk-python.
looks like you maybe imported * from llama_index.llms
? Do you have a list of imports from that jupyter notebook?
from anthropic-sdk-python.
Both llama_index
& langchain
are compatible with v0.3 of this library. Were you maybe using an older version?
from anthropic-sdk-python.
Related Issues (20)
- Missing token count feature HOT 1
- Vertex "Could not resolve API token from the environment" HOT 9
- Wrong request options in retries HOT 4
- Is there a way to manage Claude Projects in Web UI via the API? HOT 1
- nest_asyncio hangs AsyncAnthropic HOT 3
- `timeout` parameter doesn't seem to have any effect HOT 3
- Feature request: return the number of failed attempts HOT 7
- Error Code 400 HOT 2
- Async usage is broken as of 0.29.0 for client.messages.create HOT 3
- Feature request: tool_choice='none' for analysing available tools - but not using them HOT 1
- What is the correct way to use streaming? HOT 1
- Model responses may violate input schema in tool specifications HOT 2
- AnthropicBedrock supports Prompt Caching HOT 1
- Docs typo: "isight" instead of "insight" HOT 1
- Provide support for token counting for Claude 3.5+ models HOT 1
- Feat: Alternate key HOT 2
- Test suite fails with pytest 8 HOT 2
- Support Prompt Caching with Vertex HOT 1
- Iterable vs List in the request datatypes HOT 5
- Empty args/inputs when turning streaming on and setting tool choice to any HOT 7
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 anthropic-sdk-python.