agentops
agentops copied to clipboard
[FEATURE] Add support for AI21 via the `ai21` Python SDK
๐ฅ 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.
@bboynton97 @siyangqiu @HowieG @areibman this is ready for review!
โ ๏ธ 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
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- 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
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
๐ฆ 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.
@areibman @bboynton97 can you guys review this?