[PR #1159] [MERGED] Example: Function Calling in Typescript #15756

Closed
opened 2026-04-16 05:07:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1159
Author: @technovangelist
Created: 11/17/2023
Status: Merged
Merged: 11/21/2023
Merged by: @technovangelist

Base: mainHead: mattw/functioncalling


📝 Commits (6)

  • fefae84 example: function calling
  • c57aee6 Update examples/typescript-functioncalling/readme.md
  • 48896f6 Update examples/typescript-functioncalling/extractwp.ts
  • 0260be4 remove 'recently'
  • 44b3a1a Merge branch 'mattw/functioncalling' of github.com:jmorganca/ollama into mattw/functioncalling
  • 5f7acd0 remove 'recent'

📊 Changes

7 files changed (+912 additions, -0 deletions)

View changed files

examples/typescript-functioncalling/extractemail.ts (+118 -0)
examples/typescript-functioncalling/extractwp.ts (+38 -0)
examples/typescript-functioncalling/info.txt (+17 -0)
examples/typescript-functioncalling/package-lock.json (+519 -0)
examples/typescript-functioncalling/package.json (+9 -0)
examples/typescript-functioncalling/readme.md (+28 -0)
examples/typescript-functioncalling/wp.txt (+183 -0)

📄 Description

Two examples here. One to list the characters in the first few pages of War and Peace. The other parses emails for events and addresses.


🔄 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/1159 **Author:** [@technovangelist](https://github.com/technovangelist) **Created:** 11/17/2023 **Status:** ✅ Merged **Merged:** 11/21/2023 **Merged by:** [@technovangelist](https://github.com/technovangelist) **Base:** `main` ← **Head:** `mattw/functioncalling` --- ### 📝 Commits (6) - [`fefae84`](https://github.com/ollama/ollama/commit/fefae84c06ff64163bdd252b8303d628be9ba53e) example: function calling - [`c57aee6`](https://github.com/ollama/ollama/commit/c57aee6fba4f78efe1fdc24c0720479223f80f72) Update examples/typescript-functioncalling/readme.md - [`48896f6`](https://github.com/ollama/ollama/commit/48896f626cf5b357f65e7e1e1dcad2d3c2efced5) Update examples/typescript-functioncalling/extractwp.ts - [`0260be4`](https://github.com/ollama/ollama/commit/0260be4414712a8ee8ea366c5bbadae2fbe97624) remove 'recently' - [`44b3a1a`](https://github.com/ollama/ollama/commit/44b3a1ad42669eab07b4eadf533756fb931f06fb) Merge branch 'mattw/functioncalling' of github.com:jmorganca/ollama into mattw/functioncalling - [`5f7acd0`](https://github.com/ollama/ollama/commit/5f7acd0bbd1dd68a60e84f313a1feb6ac2ea626e) remove 'recent' ### 📊 Changes **7 files changed** (+912 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/typescript-functioncalling/extractemail.ts` (+118 -0) ➕ `examples/typescript-functioncalling/extractwp.ts` (+38 -0) ➕ `examples/typescript-functioncalling/info.txt` (+17 -0) ➕ `examples/typescript-functioncalling/package-lock.json` (+519 -0) ➕ `examples/typescript-functioncalling/package.json` (+9 -0) ➕ `examples/typescript-functioncalling/readme.md` (+28 -0) ➕ `examples/typescript-functioncalling/wp.txt` (+183 -0) </details> ### 📄 Description Two examples here. One to list the characters in the first few pages of War and Peace. The other parses emails for events and addresses. --- <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:07:06 -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#15756