Open kasapu opened 8 months ago
@kasapu can you please specify which sample code you are running into this issue?
Hi @luzhang06 thanks for your response, I am using code in the attached path "SampleCode/Python/sample_rag_langchain.ipynb" & https://github.com/microsoft/Form-Recognizer-Toolkit/blob/0fbbc55826df93018cc9b2bc9e517b1c1c8d90de/SampleCode/Python/sample_rag_langchain.ipynb Thank You @luzhang06
@kasapu can you please share what error you see with this sample code? We support both local file and public URL as input. You can learn more here: https://python.langchain.com/docs/integrations/document_loaders/azure_document_intelligence.
@luzhang06, thank you for your response. I am trying to upload file but I am getting error as shown in below image. I tried data path and file path options. I checked file in folder and it is project folder and file is not opened. Please help me. Thank You Zhang.
@toothache any comment on this?
@kasapu it seems you are passing in the relative path which the file cannot be found. Have you tried the absolute path? If it still doesn't work. Please send us an email: formrecog_contact@microsoft.com and we can follow up over emails.
Indeed, @luzhang06, I have passed the absolute path along but it hasn't worked as expected. I will make sure to send an email to the formrecog for further analysis. In the meantime, could you please provide me with the AI doc intelligence with any other framework GitHub repository link? I need it to demonstrate Azure AI Document Intelligence capabilities integrated with RAG to our clients. Thank You for your support and messages.
This is the most relevant one you can find. Other repos are not leveraging markdown output yet but you can probably have a try:
SDK and REST API Quickstart: Document Intelligence SDKs – use your preferred SDK or REST API to extract content and structure from documents. Sample code of using Layout API to output in markdown format.
Build “chat with your document” with semantic chunking This cookbook shows a simple demo for RAG pattern with Azure AI Document Intelligence as document loader and Azure Search as retriever in Langchain. This solution accelerator demonstrates an end-to-end baseline RAG pattern sample that uses Azure AI Search as a retriever and Azure AI Document Intelligence for document loading and semantic chunking.
Thank You much @luzhang06, I will try the links provided and will let you know if any. Thank You
I can't pass documents from my local desktop and unable to provide Url or file_path