Code Monkey home page Code Monkey logo

Comments (9)

luzhang06 avatar luzhang06 commented on August 23, 2024

@kasapu can you please specify which sample code you are running into this issue?

from form-recognizer-toolkit.

kasapu avatar kasapu commented on August 23, 2024

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

from form-recognizer-toolkit.

luzhang06 avatar luzhang06 commented on August 23, 2024

@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.

from form-recognizer-toolkit.

kasapu avatar kasapu commented on August 23, 2024

@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.
image

from form-recognizer-toolkit.

luzhang06 avatar luzhang06 commented on August 23, 2024

@toothache any comment on this?

from form-recognizer-toolkit.

luzhang06 avatar luzhang06 commented on August 23, 2024

@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: [email protected] and we can follow up over emails.

from form-recognizer-toolkit.

kasapu avatar kasapu commented on August 23, 2024

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.

from form-recognizer-toolkit.

luzhang06 avatar luzhang06 commented on August 23, 2024

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.

from form-recognizer-toolkit.

kasapu avatar kasapu commented on August 23, 2024

Thank You much @luzhang06, I will try the links provided and will let you know if any. Thank You

from form-recognizer-toolkit.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.