janhq / jan

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. Multiple engine support (llama.cpp, TensorRT-LLM)
https://jan.ai/
GNU Affero General Public License v3.0
20.74k stars 1.19k forks source link

feat: OpenAI Python library Integration for API Collection Testing and Coverage Reporting #2655

Open Van-QA opened 2 months ago

Van-QA commented 2 months ago

Problem: Currently, there is no seamless way to run checks on our API collection using OpenAI's tools and sync the output to a Report Portal for coverage analysis.

Success Criteria:

Additional Context: The proposed feature would allow us to streamline our testing and analysis by automating the process of running checks on our API collection using OpenAI' tools. Additionally, the ability to sync the output from these checks to a Report Portal would enable us to easily and analyze coverage, making it easier to identify areas for improvement and optimize our API collection.

This feature would be particularly useful for our CI/CD pipeline, as would allow us to automatically run checks on our API collection as part of our testing process, and ensure that all changes and updates to the API collection are thoroughly tested and analyzed for coverage.

Overall, this feature would greatly improve our ability to maintain and optimize our API collection, and ensure that it meets the standard of OpenAI API

Sub tasks:

0xSage commented 2 months ago

Thanks for this. Would be great to have a publicly viewable dashboard as well 🙏