teilomillet / gollm

Unified Go interface for Language Model (LLM) providers. Simplifies LLM integration with flexible prompt management and common task functions.
https://docs.gollm.co
Apache License 2.0
223 stars 14 forks source link

Create a CLI Tool for Testing New LLM Provider Implementations #6

Open teilomillet opened 1 month ago

teilomillet commented 1 month ago

As we expand support for different LLM providers in gollm, we need a way to test new implementations. A CLI tool would streamline this process and make it easier for contributors to validate their work.

Objective

Create a command-line interface (CLI) tool that can test LLM provider implementations. This tool should be flexible, allowing for both simple and extensive testing based on the user's needs.

Flexible Requirements

  1. Provider Configuration:

    • Allow users to specify provider details (name, API key, model, etc.) in a way that makes sense for your implementation.
  2. Test Capabilities:

    • Implement tests that you find interesting or important. These could include:
      • Basic text generation
      • Testing specific provider features
      • Performance benchmarking
      • Error handling
    • Feel free to focus on one aspect or create a comprehensive suite.
  3. Output:

    • Design the output format in a way that you find most useful for understanding test results.
  4. User Experience:

    • Consider how to make the tool user-friendly, but implement it in your own style.
  5. Documentation:

    • Provide instructions on how to use your tool.
  6. Integration:

    • Consider how your tool might be used alongside the existing gollm package.

Ideas to Explore (Optional)

This is an open-ended project, so feel free to be creative and implement the features you find most interesting or useful. If you have any questions or ideas you want to discuss, please ask in the comments.