Roy commited on
Commit
09f91ee
·
1 Parent(s): 888b9e4

Commit unncessary files update

Browse files
Files changed (2) hide show
  1. .gitignore +0 -21
  2. tests/test_lightrag_ollama_chat.py +7 -7
.gitignore CHANGED
@@ -64,24 +64,3 @@ gui/
64
 
65
  # unit-test files
66
  test_*
67
- Miniconda3-latest-Linux-x86_64.sh
68
- requirements_basic.txt
69
- requirements.txt
70
- examples/test_chromadb.py
71
- examples/test_faiss.py
72
- examples/test_neo4j.py
73
- .gitignore
74
- requirements.txt
75
- examples/test_chromadb.py
76
- examples/test_faiss.py
77
- examples/*
78
- tests/test_lightrag_ollama_chat.py
79
- requirements.txt
80
- requirements.txt
81
- examples/test_chromadb.py
82
- examples/test_faiss.py
83
- examples/test_neo4j.py
84
- tests/test_lightrag_ollama_chat.py
85
- examples/test_chromadb.py
86
- examples/test_faiss.py
87
- examples/test_neo4j.py
 
64
 
65
  # unit-test files
66
  test_*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tests/test_lightrag_ollama_chat.py CHANGED
@@ -38,16 +38,16 @@ class McpError(Exception):
38
 
39
  DEFAULT_CONFIG = {
40
  "server": {
41
- "host": "host.docker.internal",
42
- "port": 11434,
43
- "model": "llama3.2:latest",
44
  "timeout": 300,
45
  "max_retries": 1,
46
  "retry_delay": 1,
47
  },
48
  "test_cases": {
49
- "basic": {"query": "How many disciples did Tang Seng have?"},
50
- "generate": {"query": "Who directed the TV series Journey to the West?"},
51
  },
52
  }
53
 
@@ -763,8 +763,8 @@ def parse_args() -> argparse.Namespace:
763
  Configuration file (config.json):
764
  {
765
  "server": {
766
- "host": "host.docker.internal", # Server address
767
- "port": 11434, # Server port
768
  "model": "lightrag:latest" # Default model name
769
  },
770
  "test_cases": {
 
38
 
39
  DEFAULT_CONFIG = {
40
  "server": {
41
+ "host": "localhost",
42
+ "port": 9621,
43
+ "model": "lightrag:latest",
44
  "timeout": 300,
45
  "max_retries": 1,
46
  "retry_delay": 1,
47
  },
48
  "test_cases": {
49
+ "basic": {"query": "唐僧有几个徒弟"},
50
+ "generate": {"query": "电视剧西游记导演是谁"},
51
  },
52
  }
53
 
 
763
  Configuration file (config.json):
764
  {
765
  "server": {
766
+ "host": "localhost", # Server address
767
+ "port": 9621, # Server port
768
  "model": "lightrag:latest" # Default model name
769
  },
770
  "test_cases": {