-
Notifications
You must be signed in to change notification settings - Fork 0
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: RAG functionality #24
Conversation
amirai21
commented
Dec 1, 2024
- RAG CRUD
- Upload file - browser / node support via inline imports of form data and corresponding libs.
src/types/API.ts
Outdated
@@ -29,3 +29,6 @@ export type Headers = Record<string, string | null | undefined>; | |||
// Platforms specific types for NodeJS and Browser | |||
export type CrossPlatformResponse = Response | import('node-fetch').Response; | |||
export type CrossPlatformReadableStream = ReadableStream<Uint8Array> | import('stream/web').ReadableStream; | |||
|
|||
export type FormDataNode = import('form-data'); | |||
export type UnifiedFormData = FormData | FormDataNode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about one lining this import?
export type UnifiedFormData = FormData | import('form-data');
88e8283
to
9de0844
Compare
🎉 This PR is included in version 1.1.0-rc.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |