agentops icon indicating copy to clipboard operation
agentops copied to clipboard

[FEATURE] Add support for AI21 via the `ai21` Python SDK

Open dot-agi opened this issue 1 year ago โ€ข 2 comments

๐Ÿ“ฅ Pull Request

๐Ÿ“˜ Description Adds support for the AI21 models (ai21 >= 2.0.0) via their Python SDK with examples.

๐Ÿ”„ Related Issue (if applicable) #372

๐ŸŽฏ Goal Extend the functionality of AgentOps to support AI21 models.

๐Ÿ” Additional Context AI21's Task-Specific Models has a Contextual Answer capability which is currently saved as an ActionEvent.

๐Ÿงช Testing Tested using the provided file.

dot-agi avatar Sep 10 '24 17:09 dot-agi

@bboynton97 @siyangqiu @HowieG @areibman this is ready for review!

dot-agi avatar Sep 22 '24 17:09 dot-agi

โš ๏ธ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard. Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

๐Ÿ”Ž Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
10824647 Triggered Generic High Entropy Secret 33e27fec72821d445bd37fa2cfbb56ae25bd5420 docs/mint.json View secret
๐Ÿ›  Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


๐Ÿฆ‰ GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

gitguardian[bot] avatar Sep 27 '24 15:09 gitguardian[bot]

@areibman @bboynton97 can you guys review this?

dot-agi avatar Oct 15 '24 14:10 dot-agi

image We'll need to update Tokencost with Jamba-instruct. The model name in our dictionary is `ai21.jamba-instruct-v1:0`. Will raise an issue on that PR.

areibman avatar Nov 04 '24 08:11 areibman