The Multi-Model Comparison Platform aims to provide a user-friendly interface for comparing responses from different models, both locally and through external APIs. The modular architecture and open-source nature ensure flexibility and collaborative development.
0
stars
30
commits
HTML
primary language
Dec 20, 2023
updated
README
This application is a chat comparison tool developed using Blazor.NET 8 for the front-end and FastAPI for the back-end. The purpose of this tool is to compare responses generated by local and remote models (such as Hugging Face models or LlamaAPI) based on user queries.
User Interface: The front-end is built using Blazor.NET 8, providing a responsive and interactive user interface. It includes:
Communication with FastAPI: The application communicates with a FastAPI backend hosted at http://fastapi:8000 when using docker-compose up --build or localhost whith same port when testing without docker. The backend handles requests for model comparison and fetching available models.
Model Comparison: Upon entering a query and pressing Enter, the application sends the query, selected local, and remote models to the FastAPI backend. The backend uses Hugging Face or LlamaAPI to generate responses for local and remote models and returns the results.
Dynamic Model Loading: The application dynamically loads available local and remote models from the FastAPI backend during initialization.
Saving Chat History: Users can save the chat history (both local and remote) to a text file by clicking the "Save history" button.
dotnet run.lApiToken=your llamaapi token and header=inference api auth keypip install -r requirements.txt.uvicorn main:app --reload.Feel free to explore and customize the application for your specific use case! If you encounter any issues, refer to the documentation of Blazor.NET and FastAPI for troubleshooting.
Happy coding! π
30 commits
HTML
54.4%
CSS
22.1%
Python
16.5%
C#
7.0%
The Multi-Model Comparison Platform aims to provide a user-friendly interface for comparing responses from different models, both locally and through external APIs. The modular architecture and open-source nature ensure flexibility and collaborative development.
0
stars
30
commits
HTML
primary language
Dec 20, 2023
updated
README
This application is a chat comparison tool developed using Blazor.NET 8 for the front-end and FastAPI for the back-end. The purpose of this tool is to compare responses generated by local and remote models (such as Hugging Face models or LlamaAPI) based on user queries.
User Interface: The front-end is built using Blazor.NET 8, providing a responsive and interactive user interface. It includes:
Communication with FastAPI: The application communicates with a FastAPI backend hosted at http://fastapi:8000 when using docker-compose up --build or localhost whith same port when testing without docker. The backend handles requests for model comparison and fetching available models.
Model Comparison: Upon entering a query and pressing Enter, the application sends the query, selected local, and remote models to the FastAPI backend. The backend uses Hugging Face or LlamaAPI to generate responses for local and remote models and returns the results.
Dynamic Model Loading: The application dynamically loads available local and remote models from the FastAPI backend during initialization.
Saving Chat History: Users can save the chat history (both local and remote) to a text file by clicking the "Save history" button.
dotnet run.lApiToken=your llamaapi token and header=inference api auth keypip install -r requirements.txt.uvicorn main:app --reload.Feel free to explore and customize the application for your specific use case! If you encounter any issues, refer to the documentation of Blazor.NET and FastAPI for troubleshooting.
Happy coding! π
30 commits
HTML
54.4%
CSS
22.1%
Python
16.5%
C#
7.0%