mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

Integrate Portkey LLM Provider

Open narengogi opened this issue 1 year ago • 3 comments
trafficstars

Description

Add support for Portkey

Notes:

  • Refactored to move initialisation of the LLM Config object inside the LLM Providers. This is to allow extensibility depending on Provider, the previous setup restricts Providers to use BaseConfig only.

Fixes https://github.com/mem0ai/mem0/issues/1586

Type of change

Please delete options that are not relevant.

  • [X] New feature (non-breaking change which adds functionality)
  • [X] Refactor (does not change functionality, e.g. code style improvements, linting)
  • [X] Documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Please delete options that are not relevant.

  • [X] Unit Test

Checklist:

  • [X] My code follows the style guidelines of this project
  • [X] I have performed a self-review of my own code
  • [X] I have commented my code, particularly in hard-to-understand areas
  • [X] I have made corresponding changes to the documentation
  • [X] My changes generate no new warnings
  • [X] I have added tests that prove my fix is effective or that my feature works
  • [X] New and existing unit tests pass locally with my changes
  • [X] Any dependent changes have been merged and published in downstream modules
  • [X] I have checked my code and corrected any misspellings

Maintainer Checklist

  • [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
  • [ ] Made sure Checks passed

narengogi avatar Jul 25 '24 12:07 narengogi

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 26 '24 02:07 CLAassistant

@taranjeet if you (or team) can help with the review!

vrushankportkey avatar Aug 01 '24 05:08 vrushankportkey

Tagging @Dev-Khant if you can take a look!

Vrv18 avatar Aug 15 '24 18:08 Vrv18

Hey @narengogi Thank you for your contribution! At the moment, we’re focusing on integrations that are highly requested by the community. We appreciate your effort and will keep this in mind for future priorities.

taranjeet avatar Dec 03 '24 15:12 taranjeet

seems like still not support portkey in the latest version?

unizhu avatar May 06 '25 14:05 unizhu