Giter VIP home page Giter VIP logo

tiger's Introduction

Upsonic | Self-Driven Autonomous Python Libraries

The Upsonic is designed to help data scientists and ML engineers efficiently manage and automate maintenance-free utility library creation. It provides a simple, easy-to-use Python interface to interact with the Upsonic platform. Website | Discord | Twitter

Features

  • Easy serialization of functions and classes, making them readily available for reuse across different projects.
  • Automatic documentation generation for effortless maintenance and readability.
  • Support for both direct and modular function importation from the library.
  • Streamlined version control and collaboration features, allowing teams to work together seamlessly.

Easiest Library View

Usponic proveides an dashboard for your team members. Everyone can access to the dashboard by their user status. After the accessing they can easily view the top libraries and automaticaly generated connections codes. image

Automaticaly Documentation

In Upsonic On-Prem dashboard we have automaticaly generated documentation for your each function, class, object or variables. For this you can use OpenAI GPT integration or a self-hosted Google Gemma model in your installation. They are making your documentations automaticaly. Also you can easily search your content.

  • Documentation
  • Time Complexity
  • Mistakes
  • Required Test Tyoes
  • Security Analyses
  • Tags

image

Installation

You need to install the Upsonic container.

Installing and Running On-Prem Container

Once the container is up and running, you can install the Upsonic Python Client Library on your local system using the pip package manager:

# pip install upsonic

Usage

Here's an updated quickstart guide to get you up and running with your container:

from upsonic import UpsonicOnPrem
upsonic = UpsonicOnPrem('https://your-server-address:5000', 'ACK_****************')



def sum(a, b):
    return a + b

upsonic.dump("math.basics.sum", sum)



math = upsonic.load_module("math")

math.basics.sum(5, 2)

Documentation

You can find detailed documentation, including advanced usage and API reference, in the official Upsonic Documentation .

Contributing

We welcome contributions to the Upsonic Python Client Library!

Support & Questions

For any questions or if you encounter an issue, please reach out to our support team at [email protected] or open an issue on the project's GitHub page.

Supporters

Bugra Kocaturk
Buğra Kocatürk
AWS Solution Architect

AWS Netherlands
Linkedin
Lemi Orhan Engin
Lemi Orhan Engin
CTO

Craftgate
Linkedin
Mehmet Emin Ozturk
Mehmet Emin Öztürk
Data Team Lead & Kaggle Master
Trendyol Group
Linkedin
Firat Gonen
Fırat Gönen
Chief data Officer & Kaggle Grandmaster 3X
Figopara
Linkedin
Arda Batuhan Demir
Arda Batuhan Demir
Senior DevOps Engineer

Lyrebird Studio
Linkedin
Hasan Ramazan Yurt
Hasan Ramazan Yurt
ML Engineer & Technical Founder
Nicky ai
Linkedin
Sezer Yavuzer Bozkır
Sezer Yavuzer Bozkır
Sr. Python Developer

Petleo
Linkedin
Ozan Günceler
Ozan Günceler
CTO
BSM Consultancy Limited
Linkedin
Mustafa Namoğlu
Mustafa Namoğlu
Co-Founder

İkas
Linkedin
Bünyamin Ergen
Bünyamin Ergen
AI Engineer & Python Developer & Top Ai Voice
eTaşın
Linkedin
Serdar İlarslan
Serdar İlarslan
Sr. Python developer

Easysize
Linkedin
Burak Emre Kabakçı
Burak Emre Kabakçı
Sr. Staff Software Engineer & Maker
LiveRamp
Linkedin
Ozge Oz
Ozge Oz
Partner

QNBEYOND Ventures
Linkedin
Emre Keskin
Emre Keskin
Staff Software Engineer

Oplog
Linkedin
Emrah Samdan
Emrah Şamdan
Senior product manager


Linkedin
Halil İbrahim Yıldırım
Halil İbrahim Yıldırım
Head of data science


Linkedin

Advisors

Talha Kılıç
Talha Kılıç
Tech Lead Bigdata


Emre Doğaner
Emre Doğaner
Fractional CMO for B2B SAAS

Funnelepic
Linkedin
Enes Akar
Enes Akar
CEO


Upstash
Linkedin

Customers

wears exar

tiger's People

Contributors

onuratakan avatar restyled-commits 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  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  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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tiger's Issues

the tool doesn't seem to get parameters ({topic})

Hello,

This is the gist of my code:

from crewai import Agent, Task, Crew, Process
from langchain_community.llms import Ollama
import sys
import os 

from upsonic import Tiger
tools = Tiger().crewai()

llm = Ollama(model="llama3:instruct", verbose=False, base_url="http://192.168.1.65:11434")

def kickoffTheCrew(topic): 
    researcher = Agent(
        role = "Internet Research",
        goal = f"Perform research on the {topic}, and find and explore about {topic} ",
        verbose = True,
        llm=llm,
        backstory = """You are an expert Internet Researcher
        Who knows how to search the internet for detailed content on {topic}
        Include any code examples with documentation""",
        tools=tools
    )
    
        task_search = Task(
        description="""Search for all the details about the  {topic}
                    Your final answer MUST be a consolidated content that can be used for blogging
                    This content should be well organized, and should be very easy to read""",
        expected_output='A comprehensive 10000 words information about {topic}',
        max_inter=3,
        tools=tools,           
        agent=researcher)
        
            crew = Crew(
        agents=[researcher],
        tasks=[task_search],
        verbose=2,
        process=Process.sequential )
    
    result = crew.kickoff()
    return result


# n = len(sys.argv)

# if n == 2 :
#     topic = sys.argv[1]
result = kickoffTheCrew("AI Agent Tools")
print (result)

When I run this, first of all some pip installs run all the time :

WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Requirement already satisfied: telethon==1.34.0 in d:\ai\crwai\venv\lib\site-packages (1.34.0) Requirement already satisfied: rsa in d:\ai\crwai\venv\lib\site-packages (from telethon==1.34.0) (4.9) Requirement already satisfied: pyaes in d:\ai\crwai\venv\lib\site-packages (from telethon==1.34.0) (1.6.1) Requirement already satisfied: pyasn1>=0.1.3 in d:\ai\crwai\venv\lib\site-packages (from rsa->telethon==1.34.0) (0.6.0)

the same thing repeats a few times, then I get:

[8:20:06 PM] Error on upsonic_serializer while loading                 on_prem.py:128
             interpreter.python.execute
Traceback (most recent call last):
  File "D:\AI\crwai\venv\lib\site-packages\upsonic\remote\on_prem.py", line 947, in get
    response = self.decrypt(encryption_key, value, engine, try_to_extract_importable=try_to_extract_importable)
  File "D:\AI\crwai\venv\lib\site-packages\upsonic\remote\..\remote\interface.py", line 102, in decrypt
    loaded = extract(loaded["upsonic_serializer"], loaded["name"])
  File "D:\AI\crwai\venv\lib\site-packages\upsonic\remote\..\remote\interface.py", line 96, in extract
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed       
  File "D:\AI\crwai\venv\lib\site-packages\upsonic\remote\execute_upsonic.py", line 1, in <module>
    from IPython import get_ipython
ModuleNotFoundError: No module named 'IPython'

After that, the tool starts to run but:


 [DEBUG]: == Working Agent: Internet Research
 [INFO]: == Starting Task: Search for all the details about the  **{topic}**
                    Your final answer MUST be a consolidated content that can be used for blogging
                    This content should be well organized, and should be very easy to read


> Entering new CrewAgentExecutor chain...
Let's start fresh with the correct format.

Thought:
Action: search_google
Action Input: {"query": "**{topic}**" 

['https://topic.com/', 'https://topic.com/start-your-free-trial/', 'https://topic.com/about/', 'https://topic.com/50-off-annual-summer-sale/', 'https://topic.com/explore/', 'https://www.instagram.com/topic/', 'https://tureng.com/en/turkish-english/topic', 'https://www.merriam-webster.com/dictionary/topic', 'https://www.merriam-webster.com/thesaurus/topic', 'https://www.merriam-webster.com/dictionary/topic%20sentence', 'https://www.merriam-webster.com/dictionary/topic%20of%20discussion', 'https://www.merriam-webster.com/dictionary/subtopic', 'https://dictionary.cambridge.org/dictionary/english/topic', 'https://www.hottopic.com/', 'https://www.dictionary.com/browse/topic', 'https://www.youtube.com/channel/UCF3FwGnwk6iBw5s7Y6WH5Ig', 'https://www.vocabulary.com/dictionary/topic', 'https://open.spotify.com/artist/0u6GtibW46tFX7koQ6uNJZ', 'https://www.ted.com/topics', 'https://www.facebook.com/topicproductions/']

what may be the issue here?

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.