@promptbook/ollama 0.94.0-1 → 0.94.0-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/README.md +9 -9
  2. package/esm/index.es.js +1880 -166
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/typings/src/_packages/ollama.index.d.ts +6 -0
  5. package/esm/typings/src/_packages/openai.index.d.ts +2 -0
  6. package/esm/typings/src/execution/AvailableModel.d.ts +9 -1
  7. package/esm/typings/src/llm-providers/_common/filterModels.d.ts +2 -2
  8. package/esm/typings/src/llm-providers/{openai/computeUsage.d.ts → _common/utils/pricing.d.ts} +2 -2
  9. package/esm/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions.d.ts +1 -1
  10. package/esm/typings/src/llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions.d.ts +1 -1
  11. package/esm/typings/src/llm-providers/deepseek/DeepseekExecutionToolsOptions.d.ts +1 -1
  12. package/esm/typings/src/llm-providers/google/GoogleExecutionToolsOptions.d.ts +1 -1
  13. package/esm/typings/src/llm-providers/ollama/OllamaExecutionTools.d.ts +36 -11
  14. package/esm/typings/src/llm-providers/ollama/OllamaExecutionToolsOptions.d.ts +23 -12
  15. package/esm/typings/src/llm-providers/ollama/createOllamaExecutionTools.d.ts +3 -3
  16. package/esm/typings/src/llm-providers/ollama/ollama-models.d.ts +14 -0
  17. package/esm/typings/src/llm-providers/openai/OpenAiAssistantExecutionToolsOptions.d.ts +1 -1
  18. package/esm/typings/src/llm-providers/openai/OpenAiCompatibleExecutionTools.d.ts +91 -0
  19. package/esm/typings/src/llm-providers/openai/OpenAiExecutionTools.d.ts +12 -53
  20. package/esm/typings/src/llm-providers/openai/OpenAiExecutionToolsOptions.d.ts +1 -1
  21. package/esm/typings/src/llm-providers/openai/createOpenAiExecutionTools.d.ts +2 -0
  22. package/esm/typings/src/llm-providers/openai/openai-models.d.ts +1 -7
  23. package/esm/typings/src/version.d.ts +1 -1
  24. package/package.json +4 -2
  25. package/umd/index.umd.js +1884 -168
  26. package/umd/index.umd.js.map +1 -1
  27. /package/esm/typings/src/llm-providers/{openai/computeUsage.test.d.ts → _common/utils/pricing.test.d.ts} +0 -0
package/README.md CHANGED
@@ -44,7 +44,9 @@ npm i ptbk
44
44
  npm install @promptbook/ollama
45
45
  ```
46
46
 
47
- !!!
47
+ Ollama adapter to integrate [Ollama](https://ollama.com/) self-hosted LLMs into your prompt workflows.
48
+
49
+ You need to install the Ollama CLI and have a model running locally. You can find instructions on how to do that [here](https://ollama.com/docs/getting-started/installation).
48
50
 
49
51
 
50
52
  ---
@@ -60,6 +62,8 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
60
62
 
61
63
  During the computer revolution, we have seen [multiple generations of computer languages](https://github.com/webgptorg/promptbook/discussions/180), from the physical rewiring of the vacuum tubes through low-level machine code to the high-level languages like Python or JavaScript. And now, we're on the edge of the **next revolution**!
62
64
 
65
+
66
+
63
67
  It's a revolution of writing software in **plain human language** that is understandable and executable by both humans and machines – and it's going to change everything!
64
68
 
65
69
  The incredible growth in power of microprocessors and the Moore's Law have been the driving force behind the ever-more powerful languages, and it's been an amazing journey! Similarly, the large language models (like GPT or Claude) are the next big thing in language technology, and they're set to transform the way we interact with computers.
@@ -185,16 +189,8 @@ Join our growing community of developers and users:
185
189
 
186
190
  _A concise, Markdown-based DSL for crafting AI workflows and automations._
187
191
 
188
- ---
189
192
 
190
- ### 📑 Table of Contents
191
193
 
192
- - [Introduction](#introduction)
193
- - [Example](#example)
194
- - [1. What: Workflows, Tasks & Parameters](#1-what-workflows-tasks--parameters)
195
- - [2. Who: Personas](#2-who-personas)
196
- - [3. How: Knowledge, Instruments & Actions](#3-how-knowledge-instruments-and-actions)
197
- - [General Principles](#general-principles)
198
194
 
199
195
  ### Introduction
200
196
 
@@ -245,6 +241,8 @@ Personas can have access to different knowledge, tools and actions. They can als
245
241
 
246
242
  - [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
247
243
 
244
+
245
+
248
246
  ### **3. How:** Knowledge, Instruments and Actions
249
247
 
250
248
  The resources used by the personas are used to do the work.
@@ -344,6 +342,8 @@ The following glossary is used to clarify certain concepts:
344
342
 
345
343
  _Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
346
344
 
345
+
346
+
347
347
  ### 💯 Core concepts
348
348
 
349
349
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)