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

Nebula AI .NET Integration (Beta) #122

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

0xFirekeeper
Copy link
Member

@0xFirekeeper 0xFirekeeper commented Jan 16, 2025

Closes TOOL-3098


PR-Codex overview

This PR introduces new classes and methods for handling feedback, chat interactions, and session management within the Thirdweb.AI namespace. It enhances the Thirdweb SDK functionality by enabling users to submit feedback, send messages, and manage sessions via an API.

Detailed summary

  • Added FeedbackClient for submitting feedback with SubmitFeedbackAsync method.
  • Introduced ChatClient for sending single/multiple messages via SendMessageAsync and SendMessagesAsync.
  • Created ExecutionClient for executing commands with ExecuteAsync and ExecuteBatchAsync.
  • Implemented SessionManager for managing sessions: list, get, create, update, delete, and clear sessions.
  • Developed ThirdwebNebula class to encapsulate session, chat, execution, and feedback functionalities.
  • Added data models for API interactions: Feedback, FeedbackParams, ChatResponse, Session, CreateSessionParams, etc.
  • Updated Constants to include NEBULA_API_URL and NEBULA_DEFAULT_MODEL.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

linear bot commented Jan 16, 2025

@0xFirekeeper 0xFirekeeper self-assigned this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant