Chat with Document
To use documents with the external API, upload them via the NeuralAI app and get the file URL.
javascript
const response = await fetch("https://app.neuralaiweb.com/functions/neuralaiPublicApi", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
api_key: "LA_TUA_CHIAVE_API",β NOW AVAILABLE FROM API
- Music β audio generation with Lyria 3
- Deep Research β in-depth research seek_large
- Code β code generation in all languages
π How to get file_url
- Upload the document from the NeuralAI app (Knowledge Base section)
- Copy the file URL from the document list
- Paste the URL in the file_urls parameter of the API request