Skip to content

docs(checks): simplify API surface in tutorials with fluent API focus - #2230

Merged
kevinmessiaen merged 1 commit into
feature/giskard-v3from
feature/eng-1294-docs-simplify-api-surface-in-tutorials-fluent-api-focus
Jan 20, 2026
Merged

docs(checks): simplify API surface in tutorials with fluent API focus#2230
kevinmessiaen merged 1 commit into
feature/giskard-v3from
feature/eng-1294-docs-simplify-api-surface-in-tutorials-fluent-api-focus

Conversation

@kevinmessiaen

Copy link
Copy Markdown
Member

Refactor documentation to prioritize the fluent API pattern scenario().interact().check() over InteractionSpec and TestCase APIs.

Changes:

  • Update all tutorial files (rag-evaluation, testing-agents, chatbot-testing) to use fluent API instead of InteractionSpec/TestCase
  • Update getting started guides (quickstart, single-turn, multi-turn) to prioritize fluent API
  • De-emphasize InteractionSpec/TestCase in core-concepts, move to Advanced Usage
  • Update giskard-checks README to use fluent API in Quickstart section
  • Move InteractionSpec/TestCase examples to Advanced Usage section in README
  • Update Python docstrings (TestCase, Scenario, InteractionSpec) to recommend fluent API for most use cases
  • Wrap all examples in async functions with asyncio.run() for proper execution
  • Rename test_* functions to run_*_example() to avoid pytest confusion

This reduces the learning curve for beginners while keeping advanced APIs available in reference documentation for power users.

Refs: ENG-1294

Refactor documentation to prioritize the fluent API pattern
scenario().interact().check() over InteractionSpec and TestCase APIs.

Changes:
- Update all tutorial files (rag-evaluation, testing-agents, chatbot-testing)
  to use fluent API instead of InteractionSpec/TestCase
- Update getting started guides (quickstart, single-turn, multi-turn)
  to prioritize fluent API
- De-emphasize InteractionSpec/TestCase in core-concepts, move to Advanced Usage
- Update giskard-checks README to use fluent API in Quickstart section
- Move InteractionSpec/TestCase examples to Advanced Usage section in README
- Update Python docstrings (TestCase, Scenario, InteractionSpec) to recommend
  fluent API for most use cases
- Wrap all examples in async functions with asyncio.run() for proper execution
- Rename test_* functions to run_*_example() to avoid pytest confusion

This reduces the learning curve for beginners while keeping advanced
APIs available in reference documentation for power users.

Refs: ENG-1294
@linear

linear Bot commented Jan 20, 2026

Copy link
Copy Markdown

@kevinmessiaen
kevinmessiaen merged commit ca1a741 into feature/giskard-v3 Jan 20, 2026
4 of 5 checks passed
@kevinmessiaen
kevinmessiaen deleted the feature/eng-1294-docs-simplify-api-surface-in-tutorials-fluent-api-focus branch January 20, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant