all valid and ready for use
This commit is contained in:
parent
bd85df3f23
commit
e03ff369b3
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,3 +1,7 @@
|
|||
test/test_data.json
|
||||
/task/
|
||||
task/*
|
||||
/test
|
||||
|
||||
# cache
|
||||
__pycache__/
|
||||
core/__pycache__/
|
||||
|
|
@ -1 +1 @@
|
|||
from core import AsyncCore
|
||||
from aiDataParser.core import AsyncCore
|
||||
|
|
@ -1 +1 @@
|
|||
from ai_parser import AsyncCore
|
||||
from aiDataParser.core.ai_parser import AsyncCore
|
||||
|
|
@ -15,10 +15,10 @@ class AsyncCore:
|
|||
data_path,
|
||||
output_schema,
|
||||
api_url,
|
||||
reasoning_effort,
|
||||
top_p,
|
||||
temperature,
|
||||
max_token,
|
||||
reasoning_effort='low',
|
||||
top_p=1,
|
||||
temperature=0.0,
|
||||
max_token=128000,
|
||||
output_path=None,
|
||||
ai_code_version=None,
|
||||
request_timeout=30, # ثانیه
|
||||
|
|
@ -232,7 +232,6 @@ class AsyncCore:
|
|||
parsed = dict(parsed)
|
||||
parsed["ai_code_version"] = self.ai_code_version
|
||||
parsed["id"] = item["id"]
|
||||
print(f"parsed")
|
||||
return parsed, 200
|
||||
|
||||
except asyncio.TimeoutError:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user