{"id":26848303,"url":"https://github.com/canack/sentient","last_synced_at":"2026-05-19T10:01:53.064Z","repository":{"id":65253574,"uuid":"588675875","full_name":"canack/sentient","owner":"canack","description":"A small library that interacts with openAI's language model","archived":false,"fork":false,"pushed_at":"2023-01-23T20:53:09.000Z","size":25,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T19:40:24.031Z","etag":null,"topics":["chatgpt","chatgpt-api","go","openai","openai-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/canack.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}},"created_at":"2023-01-13T17:56:12.000Z","updated_at":"2024-12-15T04:48:49.000Z","dependencies_parsed_at":"2023-02-13T03:05:40.393Z","dependency_job_id":null,"html_url":"https://github.com/canack/sentient","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/canack/sentient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canack%2Fsentient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canack%2Fsentient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canack%2Fsentient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canack%2Fsentient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/canack","download_url":"https://codeload.github.com/canack/sentient/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canack%2Fsentient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275845548,"owners_count":25539038,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chatgpt","chatgpt-api","go","openai","openai-api"],"created_at":"2025-03-30T20:54:01.206Z","updated_at":"2025-09-18T22:46:48.459Z","avatar_url":"https://github.com/canack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentient\n\n#### Warning: This library is still in development and is not yet ready for production use.\n\n---\n\n### Mini library which works with OpenAI's models\n\n### Please check the mini [example](cmd/sentient/main.go)\n````shell\ngit clone https://github.com/canack/sentient.git\n\ncd sentient/cmd/sentient\n\nOPENAI_API_KEY=\"API_KEY\" go run .\n````\n\n\n### Usage/Demo:\n````shell\ngo get github.com/canack/sentient\n````\n\n````go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\t\"os\"\n\n\t\"github.com/canack/sentient/pkg/tools\"\n)\n\nfunc main() {\n\tvar davinci = tools.Davinci{\n\t\tMaxTokens:   300,\n\t\tTemperature: 0.05,\n\t}\n\n\tchat := tools.NewChatBot(\u0026davinci)\n\tchat.Setup(\"OPENAI_API_KEY\")\n\n\tlog.Println(\"Testing connection to OpenAI API...\")\n\tif err := chat.TestConnection(); err != nil {\n\t\tlog.Printf(\"chatbot connection failed: %v\\n\", err)\n\t\tos.Exit(1)\n\t}\n\tlog.Println(\"Connection successful!\")\n\n\tmessage := davinci.Query(\"Hi, how are you?\")\n\tfmt.Println(message.Pretty())\n}\n````\n\n### License: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanack%2Fsentient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcanack%2Fsentient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanack%2Fsentient/lists"}