Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: extend coverage of API #326

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open

feat: extend coverage of API #326

wants to merge 50 commits into from

Conversation

RichardKruemmel
Copy link
Contributor

@RichardKruemmel RichardKruemmel commented Aug 1, 2024

  • fetchScores
  • fetchPrompts
  • getDatasetItems
  • getDatasets
  • fetchScore

@RichardKruemmel RichardKruemmel self-assigned this Aug 1, 2024
Copy link

vercel bot commented Aug 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langfuse-js ❌ Failed (Inspect) Aug 26, 2024 5:28pm

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disclaimer: Experimental PR review

PR Summary

Extended API coverage with new methods and tests for scores, prompts, datasets, and dataset items.

  • integration-test/langfuse-integration-datasets.spec.ts: Added tests for creating and fetching datasets and dataset items, including special characters and pagination.
  • integration-test/langfuse-integration-node.spec.ts: Added tests for creating and fetching scores and prompts.
  • langfuse-core/src/index.ts: Introduced methods fetchScore, fetchScores, fetchPrompts, getDatasetItems, and getDatasets in LangfuseCoreStateless and LangfuseCore.
  • langfuse-core/src/types.ts: Added new types for fetching scores, prompts, datasets, and dataset items.

4 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings

langfuse-core/src/index.ts Outdated Show resolved Hide resolved
@michaelgrewal
Copy link

Looking forward to this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants