{"id":22279846,"url":"https://github.com/wasabina67/ollama-python-example","last_synced_at":"2025-03-25T18:41:20.739Z","repository":{"id":251755804,"uuid":"838346492","full_name":"wasabina67/ollama-python-example","owner":"wasabina67","description":"Ollama Python example","archived":false,"fork":false,"pushed_at":"2024-08-05T13:32:16.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T16:19:05.355Z","etag":null,"topics":["ollama-python","pipenv","pyenv"],"latest_commit_sha":null,"homepage":"","language":"Python","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/wasabina67.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":"2024-08-05T13:04:41.000Z","updated_at":"2024-11-10T04:01:00.000Z","dependencies_parsed_at":"2024-08-05T15:23:36.560Z","dependency_job_id":null,"html_url":"https://github.com/wasabina67/ollama-python-example","commit_stats":null,"previous_names":["wasabina67/ollama-python-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabina67%2Follama-python-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabina67%2Follama-python-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabina67%2Follama-python-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabina67%2Follama-python-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasabina67","download_url":"https://codeload.github.com/wasabina67/ollama-python-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245524540,"owners_count":20629691,"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":["ollama-python","pipenv","pyenv"],"created_at":"2024-12-03T15:21:28.134Z","updated_at":"2025-03-25T18:41:20.704Z","avatar_url":"https://github.com/wasabina67.png","language":"Python","readme":"# ollama-python-example\nOllama Python example\n\n## Setup\n\n### CPU only\n\n```bash\ndocker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama\n```\n\n```bash\ndocker exec -it ollama /bin/bash\n```\n\n```bash\nollama pull llama3.1\n```\n\n## Run\n\n```bash\npython run.py\n```\n\n```bash\n$ python run.py\n地球の大気中には、光を放つ元素が含まれており、その色が青です。\n```\n\n```bash\n$ python run.py\n地球と太陽の間には、空気よりも軽いガスが存在します。このガスの色を見ると、空は青いことがわかります。\n青い空というのは、人間のみが見ることになります。人以外の生物は青を見ることができません。\n```\n\n```bash\n$ python run.py\n「空の色がどうなるか」というのは、気象学者の間でも意見が一致しない問題でした。しかし、2006年の3月にNASAが発表した研究に よって、空の青い様子の理由がようやく明らかになりました。\n\n空の青い色は、天文学者の中島昭夫博士が「空が青いのは、光の波長によるもの」という論文を2002年10月に、世界最大の科学雑誌『Nature』に発表しました。空の青い色に関するこの論文が注目を集めると、NASAも、この研究を2006年の3月、「NASA Tech Briefs」 で紹介しました。\n\nこれから先、この論文と同じ考え方が多くの気象学者によって採用されることが期待されています。\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabina67%2Follama-python-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasabina67%2Follama-python-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabina67%2Follama-python-example/lists"}