Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move anthropic plugin to plugins monorepo #6

Merged
merged 2 commits into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions plugins/anthropic/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lib/
node_modules/
17 changes: 17 additions & 0 deletions plugins/anthropic/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# typescript source files
src/
tests/
tsconfig.json
tsup.common.ts
tsup.config.ts

# GitHub files
.github/
.gitignore
.npmignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md

# Developer related files
.devcontainer/
.vscode/
38 changes: 38 additions & 0 deletions plugins/anthropic/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<h1 align="center">Firebase Genkit <> Anthropic AI Plugin</h1>

<h4 align="center">Anthropic AI Community Plugin for Google Firebase Genkit</h4>

<div align="center"></div>

`genkitx-anthropicai` is a community plugin for using Anthropic AI and all its supported models with [Firebase GenKit](https://github.com/firebase/genkit).

## Installation

Install the plugin in your project with your favorite package manager:

- `npm install genkitx-anthropicai`
- `yarn add genkitx-anthropicai`

## Usage

> \[!WARNING\]\
> Documentation is currently work in progress.

## Contributing

Want to contribute to the project? That's awesome! Head over to our [Contribution Guidelines](CONTRIBUTING.md).

## Need support?

> \[!NOTE\]\
> This repository depends on Google's Firebase Genkit. For issues and questions related to GenKit, please refer to instructions available in [GenKit's repository](https://github.com/firebase/genkit).

Reach out by opening a discussion on [Github Discussions](https://github.com/TheFireCo/genkitx-openai/discussions).

## Credits

This plugin is proudly maintained by the team at [**The Fire Company**](https://github.com/TheFireCo). 🔥

## License

This project is licensed under the [Apache 2.0 License](https://github.com/TheFireCo/genkitx-openai/blob/main/LICENSE).
61 changes: 61 additions & 0 deletions plugins/anthropic/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"name": "genkitx-anthropicai",
"description": "Firebase Genkit AI framework plugin for Anthropic AI APIs.",
"keywords": [
"genkit",
"genkit-plugin",
"genkit-model",
"anthropic",
"anthropicai",
"claude",
"claude-3",
"sonnet",
"haiku",
"opus",
"ai",
"genai",
"generative-ai"
],
"version": "0.0.0",
"type": "commonjs",
"repository": {
"type": "git",
"url": "git+https://github.com/TheFireCo/genkit-plugins.git",
"directory": "plugins/anthropic"
},
"author": "TheFireCo",
"license": "Apache-2.0",
"dependencies": {
"@genkit-ai/ai": "0.5.0-rc.8",
"@genkit-ai/core": "0.5.0-rc.8",
"@anthropic-ai/sdk": "^0.20.9",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.11.16",
"npm-run-all": "^4.1.5",
"tsup": "^8.0.2",
"tsx": "^4.7.0",
"typescript": "^4.9.5"
},
"types": "./lib/index.d.ts",
"exports": {
".": {
"require": "./lib/index.js",
"default": "./lib/index.js",
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts"
}
},
"files": [
"lib"
],
"scripts": {
"check": "tsc",
"compile": "tsup-node",
"build:clean": "rm -rf ./lib",
"build": "npm-run-all build:clean check compile",
"build:watch": "tsup-node --watch",
"test": "node --import tsx --test ./tests/*_test.ts"
}
}
Loading
Loading