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

AI Proxy Wasm Plugin Integration with GitHub Models #1304

Open
imp2002 opened this issue Sep 12, 2024 · 2 comments
Open

AI Proxy Wasm Plugin Integration with GitHub Models #1304

imp2002 opened this issue Sep 12, 2024 · 2 comments
Assignees

Comments

@imp2002
Copy link
Contributor

imp2002 commented Sep 12, 2024

https://docs.github.com/en/github-models/prototyping-with-ai-models
https://github.com/marketplace/models/azure-openai/gpt-4o

curl -X POST "https://models.inference.ai.azure.com/chat/completions" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $GITHUB_TOKEN" \
    -d '{
        "messages": [
            {
                "role": "system",
                "content": "You are a helpful assistant."
            },
            {
                "role": "user",
                "content": "What is the capital of France?"
            }
        ],
        "model": "gpt-4o"
    }'

ref: #940

@johnlanni
Copy link
Collaborator

Are you interested in implementing this? It doesn't seem complicated.

@CH3CHO CH3CHO added type/enhancement New feature or request help wanted Extra attention is needed level/easy sig/wasm area/ai labels Sep 13, 2024
@hackerYHT
Copy link
Contributor

这个对接任务,我这边来开发吧 麻烦帮忙分配下

@hanxiantao hanxiantao removed the help wanted Extra attention is needed label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

5 participants