Package Exports
- @arielbk/trace-cli
- @arielbk/trace-cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@arielbk/trace-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@arielbk/trace-cli
CLI tool for analyzing conversation transcripts and detecting patterns.
Installation
npm install -g @arielbk/trace-cliUsage
Authentication
trace loginOpens your browser to authenticate with the Trace platform.
Analyze a transcript
# From a file
trace analyze --file transcript.txt
# From stdin
cat transcript.txt | trace analyze
# Inline text
trace analyze --input "user: Hello\nassistant: Hi there!"
# JSON output
trace analyze --file transcript.txt --jsonLogout
trace logoutConfiguration
Set the Trace API base URL (defaults to http://localhost:3000):
export TRACE_API_BASE_URL=https://your-trace-instance.comOr:
export API_BASE_URL=https://your-trace-instance.comLicense
MIT