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

feat: Add WebID attestation for requests to llm_service (alternative) #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renyuneyun
Copy link
Collaborator

@renyuneyun renyuneyun commented Feb 3, 2024

This version uses Header parameter for retrieving header. But Optional does not seem to be respected correctly.

This is almost the same as the other branch attest-webid, but differs in the way how headers are retrieved. This version should be preferred, as it makes use of FastAPI's built-in mechanism to verify parameters. However, it's not fully functioning as expected (see above).

Only one of them needs to be used.

This version uses Header parameter for retrieving header.
But `Optional` does not seem to be respected correctly.
@renyuneyun renyuneyun force-pushed the attest-webid_header-param branch from fef455e to 300f379 Compare February 4, 2024 12:06
@renyuneyun renyuneyun changed the title feat: Add WebID attestation for requests to llm_service feat: Add WebID attestation for requests to llm_service (alternative) Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant