-
Notifications
You must be signed in to change notification settings - Fork 13
How to upload custom articles to retrieval #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
Comments
Hi, sorry to hear that you are having issues. To use const url = `[SERVER URL]`;
const response = await fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
Accept: "*/*",
"X-API-Key": apiKey,
},
body: JSON.stringify({
query,
search_uuid,
k,
snippet,
}),
signal: controller.signal,
}); This replaces the GET request with a POST request to the server directly. Let me know if you have any other questions. |
Thanks for your sincerely answering! By directly using the Postman, I've connected to the backend successfully! But I'm don't clearly known What's the
|
Hi! Sorry for the late reply. The How are you implementing dense retrieval in the RAG pipeline currently? If you are already using a specific framework or system, I can help you connect it with the RAGViz backend. |
In your backend, the requirements.txt file is empty, I'm trying to patch packages by detect python import. and the
tokenizer = AutoTokenizer.from_pretrained("yiqingx/AnchorDR")
load failed. I've changed the model to bge model. Also the frontend conn't connect to backend success, I'm depressed and don't know how to repair, even execute custom article retrieval, more detailed, please!The text was updated successfully, but these errors were encountered: