0.0.12 • Published 12 months ago

props-ai v0.0.12

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

propsai-node

NOTE: This sdk needs a Props AI account - www.getProps.ai

Contact peter@getprops.ai

// Example usage: (async () => { const propsAI = new PropsAI({ apiKey: "<TEST_NODE_SDK_API_KEY>", providersKeys: { openai: "<TEST_NODE_SDK_OPENAI_KEY>", groq: "<TEST_NODE_SDK_GROQ_KEY>", anthropic: "<TEST_NODE_SDK_ANTHROPIC_KEY>", google: "<TEST_NODE_SDK_GOOGLE_KEY>", }, }); try { const postResponse = await propsAI.sendFeedback( "feedbackIdTest", "<TEST_NODE_SDK_EXPERIMENT_ID>", "<TEST_NODE_SDK_CONTEXT_ID>", "metricIdTest", "feedbackValueTest" ); console.log(POST response status: ${postResponse.status_code}); console.log( POST response body: ${JSON.stringify(postResponse.response_text)} ); } catch (error: any) { console.error("Error in example usage:", error.message); } })();

0.0.12

12 months ago

0.0.11

12 months ago

0.0.10

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago