Skip to content

Conversation

@forrestIsRunning
Copy link
Contributor

Changes:

  1. Reorganized workflow example files to better reflect their purposes
    • Moved main() to main.go
    • Renamed original main.go to simple_workflow_example.go
  2. Improved function naming to follow Go conventions
  3. Added two different workflow examples:
    • A simple workflow without explicit task management
    • A complex workflow with multiple tasks and proper workflow management

This PR improves code organization and makes the examples more clear for users to understand the different ways to use the SDK.


llmSpan, err := traceloop.LogPrompt(
ctx,
llmSpan, err := factGenTask.LogPrompt(
Copy link
Member

Choose a reason for hiding this comment

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

That won't work. Have you tested 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.

2 participants