add LightRAG init parameters in readme

also fix some error
This commit is contained in:
jin
2024-11-26 10:19:28 +08:00
parent adfaa75c00
commit 7cd06159e0
5 changed files with 53 additions and 23 deletions

View File

@@ -72,7 +72,7 @@ async def openai_complete_if_cache(
content = response.choices[0].message.content
if r"\u" in content:
content = content.encode("utf-8").decode("unicode_escape")
print(content)
# print(content)
if hashing_kv is not None:
await hashing_kv.upsert(
{args_hash: {"return": response.choices[0].message.content, "model": model}}