HKUDS / LightRAG

"LightRAG: Simple and Fast Retrieval-Augmented Generation"
https://arxiv.org/abs/2410.05779
MIT License
9.26k stars 1.14k forks source link

What's the Default Prompt to use #268

Open vigneshmj1997 opened 1 week ago

vigneshmj1997 commented 1 week ago
rag = LightRAG(
    working_dir=WORKING_DIR,
    llm_model_func=azure_openai_complete(
        azure_endpoint="XXXX",
        azure_deployment="gpt-4o",
        openai_api_version="XXXX",
        openai_api_key="XXXX",
        temperature=0.1,
        base_url="XXXX",
        api_key="XXXX",
    ),
)

When i Run this code : TypeError: azure_openai_complete() missing 1 required positional argument: 'prompt'

Is there a default prompt to use

LarFii commented 3 days ago

You can follow this demo examples/lightrag_azure_openai_demo.py