@promptbook/openai 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 +6 -8
  2. package/esm/index.es.js +159 -121
  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 +2 -2
  25. package/umd/index.umd.js +159 -120
  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
@@ -263,6 +263,8 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
263
263
 
264
264
  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**!
265
265
 
266
+
267
+
266
268
  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!
267
269
 
268
270
  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.
@@ -388,16 +390,8 @@ Join our growing community of developers and users:
388
390
 
389
391
  _A concise, Markdown-based DSL for crafting AI workflows and automations._
390
392
 
391
- ---
392
393
 
393
- ### 📑 Table of Contents
394
394
 
395
- - [Introduction](#introduction)
396
- - [Example](#example)
397
- - [1. What: Workflows, Tasks & Parameters](#1-what-workflows-tasks--parameters)
398
- - [2. Who: Personas](#2-who-personas)
399
- - [3. How: Knowledge, Instruments & Actions](#3-how-knowledge-instruments-and-actions)
400
- - [General Principles](#general-principles)
401
395
 
402
396
  ### Introduction
403
397
 
@@ -448,6 +442,8 @@ Personas can have access to different knowledge, tools and actions. They can als
448
442
 
449
443
  - [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
450
444
 
445
+
446
+
451
447
  ### **3. How:** Knowledge, Instruments and Actions
452
448
 
453
449
  The resources used by the personas are used to do the work.
@@ -547,6 +543,8 @@ The following glossary is used to clarify certain concepts:
547
543
 
548
544
  _Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
549
545
 
546
+
547
+
550
548
  ### 💯 Core concepts
551
549
 
552
550
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)