8000 feat(askfern): update query to use the v2 namespace. by eyw520 · Pull Request #2994 · fern-api/fern-platform · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Open
wants to merge 2 commits into
8000
base: app
Choose a base branch
from

Conversation

eyw520
Copy link
Member
@eyw520 eyw520 commented Jun 19, 2025

This PR updates the query method to use the updated v2 namespace.

@eyw520 eyw520 requested a review from dsinghvi as a code owner June 19, 2025 18:06
Copy link
vercel bot commented Jun 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dev.ferndocs.com ✅ Ready (Inspect) Visit Preview Jun 19, 2025 7:34pm
fern-dashboard ✅ Ready (Inspect) Visit Preview Jun 19, 2025 7:34pm
fern-dashboard-dev ✅ Ready (Inspect) Visit Preview Jun 19, 2025 7:34pm
ferndocs.com ✅ Ready (Inspect) Visit Preview Jun 19, 2025 7:34pm
preview.ferndocs.com ✅ Ready (Inspect) Visit Preview Jun 19, 2025 7:34pm
prod-assets.ferndocs.com ✅ Ready (Inspect) Visit Preview Jun 19, 2025 7:34pm
prod.ferndocs.com ✅ Ready (Inspect) Visit Preview Jun 19, 2025 7:34pm

@@ -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);
Copy link
Member

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)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to getTurbopufferNamespace method.

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.

2 participants
0