Popularity
4.9
Stable
Activity
0.0
Stable
57
36
16
Programming language: Go
License: GNU General Public License v3.0 or later
Tags:
Third-party APIs
Latest version: v1.2.0
clarifai alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view clarifai alternatives based on common mentions on social networks and blogs.
-
go-openai
OpenAI ChatGPT, GPT-3, GPT-4, DALL·E, Whisper API wrapper for Go -
goamz
Popular fork of goamz which adds some missing API calls to certain packages. -
webhooks
:fishing_pole_and_fish: Webhook receiver for GitHub, Bitbucket, GitLab, Gogs -
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
twitter-scraper
Scrape the Twitter Frontend API without authentication with Golang. -
lark
Feishu(飞书)/Lark Open API Go SDK, Support ALL Open API and Event Callback. -
openaigo
OpenAI GPT3/3.5 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. -
hipchat (xmpp)
A golang package to communicate with HipChat over XMPP -
go-lark
An easy-to-use SDK for Feishu and Lark Open Platform (Messaging API only) -
go-trending
Go library for accessing trending repositories and developers at Github. -
hipchat
This project implements a Go client library for the Hipchat API. -
simples3
Simple no frills AWS S3 Golang Library using REST with V4 Signing (without AWS Go SDK) -
go-tgbot
Golang telegram bot API wrapper, session-based router and middleware -
cachet
Go(lang) client library for Cachet (open source status page system). -
go-postman-collection
Go module to work with Postman Collections
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of clarifai or a related project?
README
Clarifai Golang Library
Library for our v1 API.
Disclaimer
This API client only supports Clarifai v1 API. Stay tuned for the v2 support.
Usage
go get github.com/clarifai/clarifai-go
package main
import (
"fmt"
"github.com/clarifai/clarifai-go"
)
func main() {
client := clarifai.NewClient("<client_id>", "<client_secret>")
// Get the current status of things
info, err := client.Info()
if err != nil {
fmt.Println(err)
} else {
fmt.Printf("%+v\n", info)
}
// Let's get some context about these images
urls := []string{"https://samples.clarifai.com/metro-north.jpg", "https://samples.clarifai.com/puppy.jpeg"}
// Give it to Clarifai to run their magic
tag_data, err := client.Tag(clarifai.TagRequest{URLs: urls})
if err != nil {
fmt.Println(err)
} else {
fmt.Printf("%+v\n", tag_data) // See what we got!
}
feedback_data, err := client.Feedback(clarifai.FeedbackForm{
URLs: urls,
AddTags: []string{"cat", "animal"},
})
if err != nil {
fmt.Println(err)
} else {
fmt.Printf("%+v\n", feedback_data)
}
}
Testing
Run go test
Special Thanks
Thanks so much to Sam Couch for his amazing contribution to the Clarifai client libraries by starting this one and graciously handing it off to us. Follow him on Twitter @SamuelCouch.