Update readme

This commit is contained in:
Aymeric 2024-12-26 12:10:17 +01:00
parent ccdc75333b
commit 9863155a94
4 changed files with 12 additions and 13 deletions

View File

@ -18,19 +18,17 @@ limitations under the License.
<!-- Uncomment when CircleCI is set up <!-- Uncomment when CircleCI is set up
<a href="https://circleci.com/gh/huggingface/accelerate"><img alt="Build" src="https://img.shields.io/circleci/build/github/huggingface/transformers/master"></a> <a href="https://circleci.com/gh/huggingface/accelerate"><img alt="Build" src="https://img.shields.io/circleci/build/github/huggingface/transformers/master"></a>
--> -->
<a href="https://github.com/huggingface/agents/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/huggingface/agents.svg?color=blue"></a> <a href="https://github.com/huggingface/smolagents/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/huggingface/smolagents.svg?color=blue"></a>
<a href="https://huggingface.co/docs/agents/index.html"><img alt="Documentation" src="https://img.shields.io/website/http/huggingface.co/docs/agents/index.html.svg?down_color=red&down_message=offline&up_message=online"></a> <a href="https://huggingface.co/docs/smolagents/index.html"><img alt="Documentation" src="https://img.shields.io/website/http/huggingface.co/docs/smolagents/index.html.svg?down_color=red&down_message=offline&up_message=online"></a>
<a href="https://github.com/huggingface/agents/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/agents.svg"></a> <a href="https://github.com/huggingface/smolagents/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/smolagents.svg"></a>
<a href="https://github.com/huggingface/agents/blob/main/CODE_OF_CONDUCT.md"><img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg"></a> <a href="https://github.com/huggingface/smolagents/blob/main/CODE_OF_CONDUCT.md"><img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg"></a>
</p> </p>
<h3 align="center"> <h3 align="center">
<p>Smolagents - build great agents!</p> <p>🤗 Smolagents - a smol library to build great agents!</p>
</h3> </h3>
Smolagents is a library that enables you to run powerful agents in a few lines of code! Smolagents is a library that enables you to run powerful agents in a few lines of code. It offers:
This library offers:
**Simplicity**: the logic for agents fits in ~thousand lines of code. We kept abstractions to their minimal shape above raw code! **Simplicity**: the logic for agents fits in ~thousand lines of code. We kept abstractions to their minimal shape above raw code!

View File

@ -4,8 +4,11 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "smolagents" name = "smolagents"
version = "0.1.0" version = "0.0.1"
description = "Add your description here" description = "🤗 Smolagents: a barebones library for agents. Agents just write python code to call/orchestrate tools."
authors = [
{ name="Aymeric Roucher", email="aymeric@hf.co" }, { name="Thomas Wolf"},
]
readme = "README.md" readme = "README.md"
requires-python = ">=3.10" requires-python = ">=3.10"
dependencies = [ dependencies = [
@ -16,7 +19,6 @@ dependencies = [
"pandas>=2.2.3", "pandas>=2.2.3",
"jinja2>=3.1.4", "jinja2>=3.1.4",
"pillow>=11.0.0", "pillow>=11.0.0",
"llama-cpp-python>=0.3.4",
"markdownify>=0.14.1", "markdownify>=0.14.1",
"gradio>=5.8.0", "gradio>=5.8.0",
"duckduckgo-search>=6.3.7", "duckduckgo-search>=6.3.7",

View File

@ -5,7 +5,6 @@ rich>=13.9.4
pandas>=2.2.3 pandas>=2.2.3
jinja2>=3.1.4 jinja2>=3.1.4
pillow>=11.0.0 pillow>=11.0.0
llama-cpp-python>=0.3.4
markdownify>=0.14.1 markdownify>=0.14.1
gradio>=5.8.0 gradio>=5.8.0
duckduckgo-search>=6.3.7 duckduckgo-search>=6.3.7

View File

@ -14,7 +14,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
__version__ = "0.1.0" __version__ = "0.0.1"
from typing import TYPE_CHECKING from typing import TYPE_CHECKING