promptulate

A large language model automation and Autonomous Language Agents development framework.

APACHE-2.0 License

Downloads
699
Stars
135

Bot releases are visible (Hide)

promptulate - v1.11.0

Published by github-actions[bot] 9 months ago

👋 Hello and welcome to the release notes for Promptulate v1.11.0! We're excited to share some new updates that we believe will enhance your experience with Promptulate.

For detailed information, please visit our official documentation: Promptulate Documentation

To see the code, report issues, or contribute, check out our GitHub repository: Promptulate on GitHub

See the awesome custom Tool usage: https://undertone0809.github.io/promptulate/#/modules/tools/custom_tool_usage?id=custom-tool

Now you can define your custom tools as follows:

import promptulate as pne


def web_search(keyword: str) -> str:
    """search by keyword in web.
    Args:
        keyword: keyword to search

    Returns:
        str: search result
    """
    return "result"


agent = pne.ToolAgent(tools=[web_search])
resp: str = agent.run("What's the weather in NewYork tomorrow?")

What’s Changed

  • pref: optimize logger (#286) @Undertone0809
  • pref: optimize calculator (#285) @Undertone0809
  • Revert "fix agent thought bug and update the iot tool prompt" (#269) @ruanrongman
  • fix agent thought bug and update the iot tool prompt (#268) @ruanrongman
  • fix: error in get litellm response (#248) @Undertone0809

🚀 Features

  • feat: add tool schema (#308) @Undertone0809
  • fix agent thought bug and update the iot tool and the agent prompt (#270) @ruanrongman
  • pref: optimize calculator, mock for llm and tool (#278) @Undertone0809
  • feat: support pydantic v2 (#267) @Undertone0809

🔧 Fixes & Refactoring

  • fix agent thought bug and update the iot tool and the agent prompt (#270) @ruanrongman
  • optimize import (#252) @Undertone0809

📦 Build System & CI/CD

  • feat: add tool schema (#308) @Undertone0809

📝 Documentation

  • feat: add tool schema (#308) @Undertone0809
  • pref: optimize calculator, mock for llm and tool (#278) @Undertone0809

⬆️ Dependencies updates

  • feat: add tool schema (#308) @Undertone0809
  • ⬆️ bump litellm from 1.15.8 to 1.16.12 (#302) @dependabot
  • ⬆️ bump sqlalchemy from 2.0.23 to 2.0.24 (#288) @dependabot
  • ⬆️ bump cushy-storage from 1.3.0 to 1.3.3 (#290) @dependabot
  • ⬆️ bump ruff from 0.1.8 to 0.1.9 (#262) @dependabot
  • ⬆️ bump frozenlist from 1.4.0 to 1.4.1 (#235) @dependabot
  • ⬆️ bump httpx from 0.25.2 to 0.26.0 (#256) @dependabot
  • V1.11.0/add template jinja2 (#251) @Undertone0809

👥 List of contributors

@Undertone0809, @dependabot, @dependabot[bot] and @ruanrongman

promptulate - v1.10.1

Published by github-actions[bot] 10 months ago

👋Hi there, this is promptulate v1.10.1 release notes. We have updated some interesting features and look forward to your experience.

Official documentation: https://undertone0809.github.io/promptulate/#/
Github repo: https://github.com/Undertone0809/promptulate

What’s Changed

🚀 Features

  • add json schema formatter and pne logger filter (#247) @Undertone0809
  • pref: add openai parameters (#240) @Undertone0809
  • pref: change openai max token length (#238) @Undertone0809
  • pref: add additional_kwarg of openai (#219) @Undertone0809

🔧 Fixes & Refactoring

  • fix: change openai max token length (#239) @Undertone0809

📝 Documentation

  • add json schema formatter and pne logger filter (#247) @Undertone0809
  • pref: add additional_kwarg of openai (#219) @Undertone0809

⬆️ Dependencies updates

  • ⬆️ bump ruff from 0.1.7 to 0.1.8 (#233) @dependabot
  • ⬆️ bump litellm from 1.12.0 to 1.12.3 (#217) @dependabot
  • ⬆️ bump distlib from 0.3.7 to 0.3.8 (#225) @dependabot
  • ⬆️ bump pytest-html from 3.2.0 to 4.1.1 (#211) @dependabot
  • ⬆️ bump actions/setup-python from 4 to 5 (#202) @dependabot

👥 List of contributors

@Undertone0809, @dependabot and @dependabot[bot]

promptulate - v1.10.0

Published by github-actions[bot] 10 months ago

👋Hi there, welcome to enjoy new feature of pne.chat()

https://undertone0809.github.io/promptulate/#/modules/chat_usage?id=chat

🚀 Features

  • feat: add chat tool (#215) @Undertone0809
  • ernie bot 4.0 (#168) @ruanrongman

🔧 Fixes & Refactoring

  • feat: add chat tool (#215) @Undertone0809
  • ernie-bot add native stop and fix some bugs (#173) @ruanrongman

📦 Build System & CI/CD

  • docs: update docs (#218) @Undertone0809
  • build: using poetry to publish pkg (#216) @Undertone0809

📝 Documentation

  • docs: update docs (#218) @Undertone0809
  • feat: add chat tool (#215) @Undertone0809

⬆️ Dependencies updates

  • feat: add chat tool (#215) @Undertone0809
  • ⬆️ bump aiohttp from 3.9.0 to 3.9.1 (#174) @dependabot
  • ⬆️ bump cushy-storage from 1.2.5 to 1.3.0 (#209) @dependabot
  • ⬆️ bump duckduckgo-search from 3.9.6 to 3.9.9 (#183) @dependabot
  • ⬆️ bump pytest from 6.2.5 to 7.4.3 (#117) @dependabot
  • ⬆️ bump litellm from 1.4.0 to 1.6.0 (#171) @dependabot

👥 List of contributors

@Undertone0809, @dependabot, @dependabot[bot] and @ruanrongman

promptulate - v1.9.1

Published by github-actions[bot] 11 months ago

What’s Changed

  • update litellm and langchain version in poetry (#151) @Undertone0809

🚀 Features

  • fix: error in client chat (#149) @Undertone0809

🔧 Fixes & Refactoring

  • fix: error in client chat (#149) @Undertone0809
  • fix: error in webagent (#146) @Undertone0809

⬆️ Dependencies updates

  • ⬆️ bump langchain from 0.0.324 to 0.0.332 (#129) @dependabot

👥 List of contributors

@Undertone0809, @dependabot and @dependabot[bot]

promptulate - v1.9.0

Published by github-actions[bot] 11 months ago

What’s Changed

  • test: optimize tests (#122) @Undertone0809
  • pref: optimize chat client (#114) @Undertone0809
  • build: add unittest (#113) @Undertone0809
  • add makefile (#112) @Undertone0809
  • feat: add examples for OutputFormatter (#109) @Undertone0809
  • feat: add chat function (#109) @Undertone0809

⬆️ Dependencies updates

  • ⬆️ bump actions/cache from 2.1.6 to 3.3.2 (#116) @dependabot
  • ⬆️ Bump pypa/gh-action-pypi-publish from 1.4.2 to 1.8.10 (#90) @dependabot
  • ⬆️ Bump actions/checkout from 3 to 4 (#87) @dependabot
  • ⬆️ Bump actions/setup-python from 3 to 4 (#88) @dependabot

👥 List of contributors

@Undertone0809, @dependabot and @dependabot[bot]

promptulate - v1.8.2

Published by Undertone0809 12 months ago

What's Changed

Full Changelog: https://github.com/Undertone0809/promptulate/compare/v1.8.1...v1.8.2

promptulate - v1.8.1

Published by Undertone0809 12 months ago

promptulate - v1.8.0

Published by Undertone0809 12 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/Undertone0809/promptulate/compare/v1.7.4...v1.8.0

promptulate - v1.7.4

Published by Undertone0809 about 1 year ago

What's Changed

Full Changelog: https://github.com/Undertone0809/promptulate/compare/v1.7.2...v1.7.4

promptulate - v1.7.3

Published by Undertone0809 about 1 year ago

What's Changed

Full Changelog: https://github.com/Undertone0809/promptulate/compare/v1.7.2...v1.7.3

promptulate - v1.7.2

Published by Undertone0809 about 1 year ago

pref: black formatting

promptulate - v1.7.1

Published by Undertone0809 about 1 year ago

What's Changed

Full Changelog: https://github.com/Undertone0809/promptulate/compare/v1.7.0...v1.7.1

promptulate - v1.7.0

Published by Undertone0809 about 1 year ago

What's Changed

feat

  • add Iot tool #63
  • add human_feedback tool #69
  • add langchain tool #70
  • add huggingface tool #70
  • optimize tool construction #70

Full Changelog: https://github.com/Undertone0809/promptulate/compare/v1.6.3...v1.7.0

promptulate - v1.6.3

Published by Undertone0809 about 1 year ago

What's Changed

Full Changelog: https://github.com/Undertone0809/promptulate/compare/v1.6.1...v1.6.2

promptulate - v1.6.2

Published by Undertone0809 about 1 year ago

What's Changed

Full Changelog: https://github.com/Undertone0809/promptulate/compare/v1.6.1...v1.6.2

promptulate - v1.6.1

Published by Undertone0809 about 1 year ago

What's Changed

feat add WebAgent #59
feat add ShellTool #55 #58
feat add SleepTool #53 #52
pref optimize erniebot error handle #59
docs optimize docs #54 #59

Full Changelog: https://github.com/Undertone0809/promptulate/compare/v1.5.3...v1.6.0

promptulate - v1.5.3

Published by Undertone0809 about 1 year ago

feat add document comment system #40
pref add turn_off_stdout_hook #40
fix package import error

promptulate - v1.5.2

Published by Undertone0809 about 1 year ago

perf remove erniebot pool

promptulate - v1.5.1

Published by Undertone0809 about 1 year ago

fix remove some useless packages

promptulate - v1.5.0

Published by Undertone0809 about 1 year ago

feat 添加stdout Hook
feat 增加pne-chat的功能
fix 修复ToolAgent错误引入的问题
docs 优化文档介绍

Package Rankings
Top 10.97% on Pypi.org
Related Projects