lloydchang / abanteai-rawdog Goto Github PK
View Code? Open in Web Editor NEWThis project forked from abanteai/rawdog
Generate and auto-execute Python scripts in the cli
License: Apache License 2.0
This project forked from abanteai/rawdog
Generate and auto-execute Python scripts in the cli
License: Apache License 2.0
While litellm has been added to requirements.txt via AbanteAI@abfbc91
The version of rawdog on pip, paired with README.md instructions, is missing a reference to litellm.
Hence the simplest workaround is to amend README.md instructions as follows:
pip install rawdog-ai litellm
Meanwhile, the existing README.md says
Quickstart
Install rawdog with pip:
pip install rawdog-aiChoose a mode of interaction. You will be prompted to input an API key if not found:
Direct: Execute a single prompt and close
rawdog Plot the size of all the files and directories in cwd
However, ModuleNotFoundError: No module named 'litellm' happens because litellm was missing in README.md and/or requirements.txt
Example of error message below:
❯ pip3 install rawdog-ai
Collecting rawdog-ai
Obtaining dependency information for rawdog-ai from https://files.pythonhosted.org/packages/b0/c1/d9b6deab1331696eb970a0f62ab41eefaf8f6ac9274e0e71fc581312279b/rawdog_ai-0.1.0-py3-none-any.whl.metadata
Downloading rawdog_ai-0.1.0-py3-none-any.whl.metadata (2.1 kB)
Downloading rawdog_ai-0.1.0-py3-none-any.whl (11 kB)
Installing collected packages: rawdog-ai
Successfully installed rawdog-ai-0.1.0
❯ rawdog Plot the size of all the files and directories in cwd
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/rawdog", line 5, in
from rawdog.main import main
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/rawdog/main.py", line 6, in
from rawdog.llm_client import LLMClient
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/rawdog/llm_client.py", line 8, in
from litellm import completion, completion_cost
ModuleNotFoundError: No module named 'litellm'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.