microsoft / prompty

Prompty makes it easy to create, manage, debug, and evaluate LLM prompts for your AI applications. Prompty is an asset class and format for LLM prompts designed to enhance observability, understandability, and portability for developers.
https://prompty.ai
MIT License
417 stars 31 forks source link

New Prompty created file has str data type instead of string #4

Closed andres-swax closed 4 months ago

andres-swax commented 4 months ago

Created my first Prompty file, and leaving untouched the text on the new window, returns: ValueError: 'str' is not a valid ValueType and will not launch.

Changed str to string in the newly created file and now test chat page doe launch.

sethjuarez commented 4 months ago

Oh interesting! I think in this case we should be more explicit about the valid type names here - good catch.

wayliums commented 4 months ago

@swarchitex just checking what are you using for testing? Directly QuickRun in the extension or something else?

wayliums commented 4 months ago

oh nvm, i can repro in langchain. let me fix it.

wayliums commented 4 months ago

fixed, extension updated