Git Product home page Git Product logo

claudetools's Introduction

Hi there πŸ‘‹, my name is Vatsal

LinkedIn: vatsalsaglani Twitter: saglanivatsal

I am currently working as a Data Science Lead - GenAI. My day job is mostly similar to every "Day in life of a Data Scientist" video out there on YouTube πŸ˜…. The rest of what's left of my day goes into research and writing and re-writing blogs on Medium.


My data file...

vatsalInfoDict = {
    "pronouns": "he|him πŸ‘¨β€πŸ’»",
    "code": ["Python πŸš€", "JavaScript 🎯", "HTML πŸ“„", 
            "CSS πŸŽ‘", "Rust πŸ€–", "Shell ⬛"],
    "ai-ml": ["LLMs", "GenAI", "PyTorch πŸ”₯", "Tensorflow 🏁", 
          "Scikit-Learn 🌴", "Pandas 🐼", "Numpy πŸ”’"],
    "tools": ["Docker πŸ‹", "AWS ☁️", "React ❄️",
             "Node πŸ’š", "Flask πŸ₯›", "Microservices πŸ•ΈοΈ"],
    "applications": ["NLP πŸ”‘", "Computer Vision πŸ–€", 
                    "Statistics βœ–οΈ", "Time Series πŸ“ˆ"]
}

Do you write? I do πŸ–οΈ

Medium: thevatsalsaglani

claudetools's People

Contributors

fannan avatar vatsalsaglani avatar vatsalsqyrus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

claudetools's Issues

The AnthropicBedrock is not working for Sonnet model

ame\": \"getWeather\", \"parameters\": {\"city\": \"NY\"}} </functioncall>\n        <functioncall> {\"name\": \"getWeather\", \"parameters\": {\"city\": \"LA\"}} </functioncall>\n    </multiplefunctions>\n\nTask: You are a helpful assistant that helps a user with their tasks and todos. The user can add a todos, mark todos as completed, or reopen certain todos.\nThe user can provide multiple actions at once so you've to break those down and call the appropriate functions in the correct sequence.",
    "max_tokens": 1000
}
2024-04-27 16:43:57 - httpx - INFO - HTTP Request: POST https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-sonnet-20240229/invoke "HTTP/1.1 403 Forbidden"
Traceback (most recent call last):
  File "/Users/anantkan/autoContra/claude.py", line 56, in <module>
    output = tool(model="anthropic.claude-3-sonnet-20240229",
  File "/Users/anantkan/autoContra/myenv/lib/python3.9/site-packages/claudetools/tools/tool.py", line 101, in __call__
    return asyncio.run(
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/Users/anantkan/autoContra/myenv/lib/python3.9/site-packages/claudetools/tools/tool.py", line 61, in tool_call
    output = await self.perform_model_call(model,
  File "/Users/anantkan/autoContra/myenv/lib/python3.9/site-packages/claudetools/tools/tool.py", line 91, in perform_model_call
    return self.complete(model, messages, system=system, **kwargs)
  File "/Users/anantkan/autoContra/myenv/lib/python3.9/site-packages/claudetools/completion/complete.py", line 33, in __call__
    output = self.client.messages.create(model=model,
  File "/Users/anantkan/autoContra/myenv/lib/python3.9/site-packages/anthropic/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
  File "/Users/anantkan/autoContra/myenv/lib/python3.9/site-packages/anthropic/resources/messages.py", line 658, in create
    return self._post(
  File "/Users/anantkan/autoContra/myenv/lib/python3.9/site-packages/anthropic/_base_client.py", line 1208, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "/Users/anantkan/autoContra/myenv/lib/python3.9/site-packages/anthropic/_base_client.py", line 897, in request
    return self._request(
  File "/Users/anantkan/autoContra/myenv/lib/python3.9/site-packages/anthropic/_base_client.py", line 988, in _request
    raise self._make_status_error_from_response(err.response) from None
anthropic.PermissionDeniedError: Error code: 403 - {'message': 'The security token included in the request is invalid.'}
(myenv) anantkan@f84d898fedb6 autoContra % ```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.