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

PromptObject API support #2015

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

sidharthrajaram
Copy link
Contributor

@sidharthrajaram sidharthrajaram commented Nov 1, 2024

promptObject API support

PromptObject is the function.

PromptObjectOptions can (optionally) contain the target LambdaArn and any PromptArgs for inference (similar to kwargs in the Python SDK for any arguments like temperature, response_format, max_tokens, etc.).`

api-prompt-object.go Outdated Show resolved Hide resolved
api-prompt-object.go Outdated Show resolved Hide resolved
api-prompt-object.go Outdated Show resolved Hide resolved
api-prompt-object.go Outdated Show resolved Hide resolved
api-prompt-object.go Outdated Show resolved Hide resolved
@sidharthrajaram sidharthrajaram force-pushed the add-prompt-obj branch 2 times, most recently from 849e3a8 to 1ce6776 Compare November 1, 2024 10:29
Copy link
Contributor

@klauspost klauspost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly trying to get stuff ironed out before the API is fixed.

api-prompt-options.go Outdated Show resolved Hide resolved
api-prompt-options.go Outdated Show resolved Hide resolved
api-prompt-object.go Outdated Show resolved Hide resolved
api-prompt-options.go Outdated Show resolved Hide resolved
api-prompt-options.go Outdated Show resolved Hide resolved
api-prompt-object.go Outdated Show resolved Hide resolved
api-prompt-options.go Outdated Show resolved Hide resolved
api-prompt-object.go Outdated Show resolved Hide resolved
Copy link
Contributor

@fwessels fwessels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sidharthrajaram sidharthrajaram merged commit 38922cc into minio:master Nov 1, 2024
5 checks passed
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.

4 participants