PipedreamHQ / pipedream

Connect APIs, remarkably fast. Free for developers.
https://pipedream.com
Other
8.32k stars 5.27k forks source link

[Components] llama_ai #11634

Closed pipedream-component-development closed 2 weeks ago

pipedream-component-development commented 3 weeks ago

llama_ai

URLs

Actions

create-chat

Prompt

Creates a new chat. Props required is messages, and optional props are functions, stream and function_call

URLs

vunguyenhung commented 2 weeks ago

Hello everyone, I have tested this PR and there're some test cases failed or needed improvement.

Please check the test report below for more information https://vunguyenhung.notion.site/Components-llama_ai-c255b32ab0174948a71a3e4b64598f27

jcortes commented 2 weeks ago

Hello everyone, I have tested this PR and there're some test cases failed or needed improvement.

Please check the test report below for more information https://vunguyenhung.notion.site/Components-llama_ai-c255b32ab0174948a71a3e4b64598f27

Hi @vunguyenhung in this case according to the JSON standard

A string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. A character is represented as a single character string. A string is very much like a C or Java string.

So JSON.parse ends up throwing an error similar to this:

> JSON.parse("{ 'name': 'information_extraction' }")
Uncaught SyntaxError: Unexpected token ' in JSON at position 2
vunguyenhung commented 2 weeks ago

Hey @jcortes, sorry my bad. All good now!

vunguyenhung commented 2 weeks ago

Hi everyone, all test cases are passed! Ready for release!

Test report https://vunguyenhung.notion.site/Components-llama_ai-c255b32ab0174948a71a3e4b64598f27

jcortes commented 2 weeks ago

Hey @jcortes, sorry my bad. All good now!

no worries!