Expand description
Request and response
Hugging Face has open endpoints that you can use to retrieve information from the Hub as well as perform certain actions such as creating model, dataset or Space repos.
Structs§
- Arxiv
Paper Req - Request of
crate::client::Client::arxiv_paper - Arxiv
Repos Req - Request of
crate::client::Client::arxiv_repos - Arxiv
Repos Res - Response of
crate::client::Client::arxiv_repos - Create
Collection Item Req - Request of
crate::client::Client::create_collection_item - Create
Collection Req - Request of
crate::client::Client::create_collection - Create
Repo Req - Request of
crate::client::Client::create_repo - Create
Repo Res - Response of
crate::client::Client::create_repo - Delete
Collection Item Req - Request of
crate::client::Client::delete_collection_item - Delete
Collection Item Res - Response of
crate::client::Client::delete_collection_item - Delete
Collection Req - Request of
crate::client::Client::delete_collection - Delete
Collection Res - Response of
crate::client::Client::delete_collection - Delete
Repo Req - Request of
crate::client::Client::delete_repo - Download
Parquet Req - Request of
crate::client::Client::download_parquet - Download
Parquet Res - Failure
Res - Error response format of Hugging Face Hub API
- GetCollection
Req - Request of
crate::client::Client::get_collection - GetCollections
Req - Request of
crate::client::Client::get_collections - GetDataset
Req - Request of
crate::client::Client::get_dataset - GetDataset
TagRes - Response of
crate::client::Client::get_dataset_tags - GetMembers
Req - Request of
crate::client::Client::get_members - GetModel
Req - Request of
crate::client::Client::get_model - GetModel
Tags Res - Response of
crate::client::Client::get_model_tags - GetParquet
Req - Request of
crate::client::Client::get_parquet - GetSpace
Req - Request of
crate::client::Client::get_space - Modify
Collection Item Req - Request of
crate::client::Client::modify_collection_item - Modify
Collection Item Res - Response of
crate::client::Client::modify_collection_item - Modify
Collection Req - Request of
crate::client::Client::modify_collection - Modify
Collection Res - Response of
crate::client::Client::modify_collection - Move
Repo Req - Request of
crate::client::Client::move_repo - Search
Req
Enums§
- GetParquet
Res - Response of
crate::client::Client::get_parquet - Hugging
Face Res - Global response format of Hugging Face Hub API
Type Aliases§
- Arxiv
Daily Res - Request of
crate::client::Client::arxiv_daily - Arxiv
Paper Res - Request of
crate::client::Client::arxiv_paper - Create
Collection Item Res - Response of
crate::client::Client::create_collection_item - GetCollection
Res - Response of
crate::client::Client::get_collection,crate::client::Client::create_collection - GetCollections
Res - Response of
crate::client::Client::get_collections - GetDataset
Res - Response of
crate::client::Client::get_dataset - GetMembers
Res - Response of
crate::client::Client::get_members - GetMetrics
Res - Response of
crate::client::Client::get_metrics - GetModel
Res - Response of
crate::client::Client::get_model - GetSpace
Res - Response of
crate::client::Client::get_space - GetUser
Info Res - Search
Dataset Req - Request of
crate::client::Client::search_dataset - Search
Dataset Res - Response of
crate::client::Client::search_dataset - Search
Model Req - Request of
crate::client::Client::search_model - Search
Model Res - Response of
crate::client::Client::search_model - Search
Space Req - Request of
crate::client::Client::search_space - Search
Space Res - Response of
crate::client::Client::search_space