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

llm-app: Support for Assistant APIs? #421

Open
paulcoghlan opened this issue Aug 16, 2024 · 2 comments
Open

llm-app: Support for Assistant APIs? #421

paulcoghlan opened this issue Aug 16, 2024 · 2 comments

Comments

@paulcoghlan
Copy link

It would be great if the llmclient could support more endpoints to enable the assistant features, namely:

        CreateAssistant(ctx context.Context, request openai.AssistantRequest) (openai.Assistant, error)
	CreateThread(ctx context.Context, request openai.ThreadRequest) (openai.Thread, error)
	CreateMessage(ctx context.Context, threadID string, request openai.MessageRequest) (msg openai.Message, err error)
	CreateRun(ctx context.Context, threadID string, request openai.RunRequest) (run openai.Run, err error)
	RetrieveRun(ctx context.Context, threadID string, runID string) (run openai.Run, err error)
	SubmitToolOutputs(ctx context.Context, threadID string, runID string, request openai.SubmitToolOutputsRequest) (response openai.Run, err error)
	ListMessage(ctx context.Context, threadID string) (openai.MessagesList, error)

Happy to help with a PR if necessary.

@gerboland gerboland changed the title Support for Assistant APIs? llm-app: Support for Assistant APIs? Oct 3, 2024
@gerboland
Copy link
Contributor

Would be worth following up with the team to see what they've done since. Are they using OpenAI's api's directly? If so, we should try include the functionality in the llm-app...

@jtheory
Copy link
Contributor

jtheory commented Oct 4, 2024

( following up in Slack with @paulcoghlan )

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

No branches or pull requests

3 participants