-
Notifications
You must be signed in to change notification settings - Fork 16
feat(askfern): update query to use the v2 namespace. #2994
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
base: app
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -87,7 +87,7 @@ export async function POST(req: NextRequest) { | |||
|
|||
const start = Date.now(); | |||
|
|||
const namespace = `${withoutStaging(domain)}_${embeddingModel.modelId}`; | |||
const namespace = getTurbopufferNamespace(domain, embeddingModel); |
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.
@eyw520 can we be sure to include the withoutStaging
here? (will be helpful to test and revalidate on staging i think)
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.
Added to getTurbopufferNamespace
method.
This PR updates the query method to use the updated v2 namespace.