https://github.com/gptscript-ai/claude3-anthropic-provider
https://github.com/gptscript-ai/claude3-anthropic-provider
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gptscript-ai/claude3-anthropic-provider
- Owner: gptscript-ai
- Created: 2024-03-12T20:16:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T21:37:31.000Z (about 2 years ago)
- Last Synced: 2024-05-29T12:35:48.977Z (about 2 years ago)
- Language: Python
- Size: 58.6 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Claude3 Anthropic Provider
## Usage Example
```
gptscript --default-model='claude-3-haiku-20240307 from github.com/gptscript-ai/claude3-anthropic-provider' examples/helloworld.gpt
```
The Claude3 Bedrock provider can be found [here](https://github.com/gptscript-ai/claude3-bedrock-provider)
## Development
* You need an ANTHROPIC_API_KEY set in your environment.
```
export ANTHROPIC_API_KEY=
```
Run using the following commands
```
python -m venv .venv
source ./.venv/bin/activate
pip install --upgrade -r requirements.txt
./run.sh
```
```
export OPENAI_BASE_URL=http://127.0.0.1:8000/v1
export GPTSCRIPT_DEBUG=true
gptscript --default-model=claude-3-opus-20240229 examples/bob.gpt
```