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: Attachment Handling for v1/completions #4205

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

danny-avila
Copy link
Owner

Summary

  • Added support for processing attachments in the buildPrompt method, allowing for seamless integration of image data into the conversation context.
  • Refactored the prompt prefix generation to incorporate the newly augmented prompt when attachments are present.
  • Removed the default date-based prompt prefix, allowing for more flexible and context-specific prompts.

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • My changes do not introduce new warnings
  • I have tested the changes to ensure they work as expected

@danny-avila danny-avila merged commit 17e5934 into main Sep 23, 2024
2 checks passed
@danny-avila danny-avila deleted the feat/legacy-v1-completions-RAG branch September 23, 2024 15:03
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