Skip to content

Releases: Portkey-AI/docs

Better Analytics

19 Jun 07:42
4b8a886
Compare
Choose a tag to compare

Transition to ClickHouse
We have made a strategic transition from MySQL to ClickHouse, a powerful open-source columnar database management system. This move empowers us to handle large datasets with incredible efficiency, enabling faster data retrieval and analysis. Say goodbye to long wait times and welcome a seamless and responsive analytics experience.

Enhanced Cohere Model Support
In response to user feedback, we have introduced support for tokens and cost calculation across all Cohere models. This addition brings enhanced flexibility and accuracy to your language models, unlocking their full potential. Additionally, we have implemented various smaller improvements to elevate the overall user experience, ensuring a smoother and more intuitive workflow.

Predefined Metadata Keys

15 Jun 10:42
93315fe
Compare
Choose a tag to compare

Portkey introduces four predefined metadata keys: _environment, _user, _organisation, and _prompt. These keys allow for easy indexing and filtering of data in Portkey's analytics and logs sections. The _user key automatically captures the user key from the OpenAI request body and can also be provided as metadata. Leveraging these predefined keys enhances data organization and filtering capabilities in Portkey.

Semantic Cache

15 Jun 10:23
ff96fe9
Compare
Choose a tag to compare

Semantic cache is a caching mechanism in Portkey that goes beyond fixed string matching. It evaluates the contextual similarity between input prompts and cached requests using cosine similarity. When the similarity exceeds a threshold, Portkey retrieves the response from the cache, improving response retrieval efficiency. It can be enabled by setting the x-portkey-cache header to "semantic" in the requests.