uezo / aiproxy

🦉AIProxy is a reverse proxy for ChatGPT API that provides monitoring, logging, and filtering requests and responses.
Apache License 2.0
38 stars 1 forks source link

Experimentally extend support to additional API endpoints🧪 #28

Closed uezo closed 3 months ago

uezo commented 3 months ago

Experimentally implement support for additional API endpoints

This commit adds experimental support for handling non-chat API endpoints such as embeddings and model listings. The feature is experimental and aims to assess the feasibility of expanding the reverse proxy's capabilities to a wider range of services.

Unlike the chat API, which records various extracted information in separate columns in addition to the bodies and headers, this implementation simply logs the headers and bodies for non-chat APIs without additional processing.