[PR #1452] [MERGED] Update readmes, requirements, packagejsons, etc for all examples #15859

Closed
opened 2026-04-16 05:10:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1452
Author: @technovangelist
Created: 12/10/2023
Status: Merged
Merged: 12/22/2023
Merged by: @technovangelist

Base: mainHead: mattw/updatepackageandrequirements


📝 Commits (1)

  • 2dc4e65 Update readmes, requirements, packagejsons, etc for all examples

📊 Changes

26 files changed (+345 additions, -100 deletions)

View changed files

📝 examples/.gitignore (+3 -0)
📝 examples/langchain-python-rag-websummary/README.md (+17 -9)
📝 examples/langchain-python-rag-websummary/requirements.txt (+0 -1)
📝 examples/langchain-python-simple/README.md (+15 -12)
📝 examples/langchain-python-simple/main.py (+3 -1)
📝 examples/langchain-typescript-simple/README.md (+14 -12)
📝 examples/langchain-typescript-simple/main.ts (+16 -6)
📝 examples/langchain-typescript-simple/package-lock.json (+1 -1)
📝 examples/langchain-typescript-simple/package.json (+7 -2)
examples/modelfile-tweetwriter/readme.md (+23 -0)
📝 examples/python-dockerit/README.md (+25 -9)
📝 examples/python-json-datagenerator/readme.md (+26 -0)
📝 examples/python-loganalysis/loganalysis.py (+6 -7)
📝 examples/python-loganalysis/readme.md (+24 -2)
📝 examples/python-rag-newssummary/README.md (+18 -5)
📝 examples/python-simplechat/client.py (+3 -2)
📝 examples/python-simplechat/readme.md (+21 -1)
examples/python-simplechat/requirements.txt (+1 -0)
examples/python-simplegenerate/README.md (+29 -0)
📝 examples/python-simplegenerate/client.py (+3 -1)

...and 6 more files

📄 Description

Most of the examples needed updates of Readmes to show how to run them. Some of the requirements.txt files had extra content that wasn't needed, or missing altogether. Apparently some folks like to run npm start to run typescript, so a script was added to all typescript examples which hadn't been done before.

Basically just a lot of cleanup.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/1452 **Author:** [@technovangelist](https://github.com/technovangelist) **Created:** 12/10/2023 **Status:** ✅ Merged **Merged:** 12/22/2023 **Merged by:** [@technovangelist](https://github.com/technovangelist) **Base:** `main` ← **Head:** `mattw/updatepackageandrequirements` --- ### 📝 Commits (1) - [`2dc4e65`](https://github.com/ollama/ollama/commit/2dc4e65beb1981e4124beb442ec44bcc2d9305f2) Update readmes, requirements, packagejsons, etc for all examples ### 📊 Changes **26 files changed** (+345 additions, -100 deletions) <details> <summary>View changed files</summary> 📝 `examples/.gitignore` (+3 -0) 📝 `examples/langchain-python-rag-websummary/README.md` (+17 -9) 📝 `examples/langchain-python-rag-websummary/requirements.txt` (+0 -1) 📝 `examples/langchain-python-simple/README.md` (+15 -12) 📝 `examples/langchain-python-simple/main.py` (+3 -1) 📝 `examples/langchain-typescript-simple/README.md` (+14 -12) 📝 `examples/langchain-typescript-simple/main.ts` (+16 -6) 📝 `examples/langchain-typescript-simple/package-lock.json` (+1 -1) 📝 `examples/langchain-typescript-simple/package.json` (+7 -2) ➕ `examples/modelfile-tweetwriter/readme.md` (+23 -0) 📝 `examples/python-dockerit/README.md` (+25 -9) 📝 `examples/python-json-datagenerator/readme.md` (+26 -0) 📝 `examples/python-loganalysis/loganalysis.py` (+6 -7) 📝 `examples/python-loganalysis/readme.md` (+24 -2) 📝 `examples/python-rag-newssummary/README.md` (+18 -5) 📝 `examples/python-simplechat/client.py` (+3 -2) 📝 `examples/python-simplechat/readme.md` (+21 -1) ➕ `examples/python-simplechat/requirements.txt` (+1 -0) ➕ `examples/python-simplegenerate/README.md` (+29 -0) 📝 `examples/python-simplegenerate/client.py` (+3 -1) _...and 6 more files_ </details> ### 📄 Description Most of the examples needed updates of Readmes to show how to run them. Some of the requirements.txt files had extra content that wasn't needed, or missing altogether. Apparently some folks like to run npm start to run typescript, so a script was added to all typescript examples which hadn't been done before. Basically just a lot of cleanup. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 05:10:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#15859