Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1 800 lines of code and READMe #1

Merged
merged 6 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add generator, openai llm
  • Loading branch information
liyin2015 committed Apr 20, 2024
commit f632761393e83bd9178e3fd4b4ee12ceb1c7a540
1 change: 1 addition & 0 deletions lightrag/light_rag.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,7 @@ def generate(self, query: str, context: Optional[str] = None) -> Any:
messages = [
{"role": "system", "content": system_prompt_content},
]
print(f"messages: {messages}")
response = self.generator.sync_chat(messages)
return response

Expand Down
Loading