Skip to main content

RAG Service

  • Create RAG service

    Use command :

    initz create rag --name=<rag-name> --desc=<rag-description> --mode=<prod/non-prod> --file=<filepath> --folder=<folderpath>
    Flags
    --name
    • Indicates the name of the RAG service.
    • required
    • Shorthand : n
    --desc
    • Indicates the description of the RAG service.
    • Optional
    --mode
    • Indicates the mode of the RAG service.
    • Optional
    • Default : prod
    • Possible Value : prod/non-prod
    --file
    • Use --file for single file upload.
    • Optional (Only when you are passing multiple files through --folder)
    • Type : pdf
    --folder
    • Use --folder for multiple file upload.
    • Optional (Only when you are passing multiple files through --file)
    • Type : folder of pdfs
  • Get List of RAG

    Use command :

    initz get rag
    Flags
    --workspaceid
    • workspace ID of the workspace for which you need RAG service List
    • By default is will taken default one
    • Should be GPU enabled
    • Optional
    --orgid
    • Org ID of the Organization for which you need RAG service List
    • By default is will taken default one
    • Optional
  • Delete RAG

    Use Command :

    initz delete rag --name=<rag-name>
    Flags
    --name
    • Indicates the name of the RAG service.
    • required
    • Shorthand : n