-
Notifications
You must be signed in to change notification settings - Fork 1
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: continue migrating Aila package to support variable documents #575
Conversation
…y doc for the current types to work
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
return { | ||
useRag: options?.useRag ?? true, | ||
temperature: options?.temperature ?? DEFAULT_TEMPERATURE, | ||
// #TODO we should find a way to make this less specifically tied |
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.
Addresses this TODO
|
@@ -50,10 +50,6 @@ export class AilaDocument implements AilaDocumentService { | |||
this._content = content; | |||
} | |||
|
|||
public setContent(content: AilaDocumentContent) { |
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.
Removes this method in preference of set
above
@@ -6,6 +6,10 @@ export type AilaDummyDocumentContent = { | |||
keyStage: string; | |||
topic?: string; | |||
body: string; | |||
basedOn?: { |
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.
For now, all document types would need a basedOn attribute
Playwright test resultsDetails
Flaky testsNo persona › tests/aila-chat/rate-limiting.test.ts › User is restricted after message rate limit is reached Skipped testsNo persona › tests/auth.test.ts › authenticate through Clerk UI |
🎉 This PR is included in version 1.27.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description