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: RAG functionality #24

Merged
merged 44 commits into from
Dec 5, 2024
Merged

feat: RAG functionality #24

merged 44 commits into from
Dec 5, 2024

Conversation

amirai21
Copy link
Contributor

@amirai21 amirai21 commented Dec 1, 2024

  • RAG CRUD
  • Upload file - browser / node support via inline imports of form data and corresponding libs.

src/AI21.ts Outdated Show resolved Hide resolved
src/APIClient.ts Outdated Show resolved Hide resolved
src/APIClient.ts Outdated Show resolved Hide resolved
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;
Copy link
Collaborator

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');

@github-actions github-actions bot added size:xxl and removed size:xl labels Dec 1, 2024
src/APIClient.ts Outdated Show resolved Hide resolved
src/APIClient.ts Outdated Show resolved Hide resolved
src/APIClient.ts Outdated Show resolved Hide resolved
src/APIClient.ts Outdated Show resolved Hide resolved
src/fetch/NodeFetch.ts Outdated Show resolved Hide resolved
@Josephasafg Josephasafg changed the base branch from main to rc_file_support December 5, 2024 09:49
@Josephasafg Josephasafg merged commit 0e4019e into rc_file_support Dec 5, 2024
12 checks passed
@github-actions github-actions bot added the lgtm label Dec 5, 2024
@Josephasafg Josephasafg deleted the library-upload branch December 5, 2024 09:58
@github-actions github-actions bot added size:s and removed size:xxl labels Dec 5, 2024
@Josephasafg
Copy link
Collaborator

🎉 This PR is included in version 1.1.0-rc.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Josephasafg
Copy link
Collaborator

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants