{"id":21441907,"url":"https://github.com/httpjamesm/together-ai-go","last_synced_at":"2025-03-17T00:43:23.179Z","repository":{"id":193772014,"uuid":"689464691","full_name":"httpjamesm/together-ai-go","owner":"httpjamesm","description":"Go API library for together.ai","archived":false,"fork":false,"pushed_at":"2023-09-11T21:33:58.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T10:36:47.603Z","etag":null,"topics":["ai","go","golang","togetherai"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/httpjamesm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-09T22:25:48.000Z","updated_at":"2024-05-27T18:41:25.000Z","dependencies_parsed_at":"2023-09-09T23:20:34.695Z","dependency_job_id":"a07cc477-492b-4d98-bf3f-e31ad4fe0d94","html_url":"https://github.com/httpjamesm/together-ai-go","commit_stats":null,"previous_names":["httpjamesm/together-ai-go"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Ftogether-ai-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Ftogether-ai-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Ftogether-ai-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Ftogether-ai-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/httpjamesm","download_url":"https://codeload.github.com/httpjamesm/together-ai-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955725,"owners_count":20374372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","go","golang","togetherai"],"created_at":"2024-11-23T01:44:35.689Z","updated_at":"2025-03-17T00:43:23.159Z","avatar_url":"https://github.com/httpjamesm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# together-ai-go\n\nUnofficial API library for [together.ai](https://together.ai)\n\n## Quickstart\n\n### Create a new client\n\n```go\nclient := togetherai.NewClient(os.Getenv(\"TOGETHERAI_API_KEY\"))\n```\n\n### Infer with a model\n\n```go\nresp, err := client.NewInference(InferenceConfig{\n    Model:     \"togethercomputer/RedPajama-INCITE-7B-Instruct\",\n    Prompt:    \"The capital of France is\",\n    MaxTokens: 128,\n    Stop:      \u0026stopStrings,\n})\nif err != nil {\n    panic(err)\n}\n\nfmt.Println(resp.Output.Choices)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttpjamesm%2Ftogether-ai-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttpjamesm%2Ftogether-ai-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttpjamesm%2Ftogether-ai-go/lists"}