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: AI module #415

Merged
merged 16 commits into from
May 15, 2024
Merged

feat: AI module #415

merged 16 commits into from
May 15, 2024

Conversation

mmikita95
Copy link
Contributor

Introduces the WriterAIManager and Conversation classes, along with complete and stream_complete methods, to enable interactions with a Writer AI API.

  • WriterAIManager: Manages API configurations, authentication, and request operations, with methods to dynamically adjust interaction parameters.
  • Conversation: Handles stateful conversation management, enabling structured interactions and response processing from the AI.
  • complete / stream_complete: Methods for single response retrievals and for streaming responses – both utilize the AI to complete a provided input of text.

@mmikita95 mmikita95 requested a review from ramedina86 May 9, 2024 09:24
@ramedina86 ramedina86 merged commit a9e9135 into writer:dev May 15, 2024
0 of 27 checks passed
@mmikita95 mmikita95 deleted the feat-ai branch May 24, 2024 10:41
This pull request was closed.
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.

2 participants