Releases: LlmKira/Openaibot
Releases · LlmKira/Openaibot
pypi_1.0.5 `learn` Command
Merge pull request #408 from LlmKira/dev add `/learn` command
pypi_1.0.4 Logic
Merge pull request #405 from LlmKira/dev Add duckduckgo-search
pypi_1.0.3 Code Interpreter
Code Interpreter from e2b.dev
app_4.0.4 Logic Mock
A more complete conversation experience, and the problem of repeated searches has been fixed.
What's Changed
Full Changelog: pypi_1.0.3...app_4.0.4
app_4.0.3 Fix tool_call logic
Merge pull request #396 from LlmKira/dev Fixa auth logic
pypi 1.0.2 Vision Model Support
Use LMDB as fallback && fix tool_call
Merge pull request #384 from LlmKira/dev LMDB fallback && Fix bug on tool_call
fix bug
pypi_1.0.1 Hook
Check the readme for more info.
from llmkira.openapi.hook import resign_hook, Hook, Trigger, run_hook
@resign_hook()
class TestHook(Hook):
trigger: Trigger = Trigger.SENDER
async def trigger_hook(self, *args, **kwargs) -> bool:
print(f"Trigger {args} {kwargs}")
return True
async def hook_run(self, *args, **kwargs):
print(f"Running {args} {kwargs}")
return args, kwargs
@resign_hook()
class TestHook2(Hook):
trigger: Trigger = Trigger.SENDER
priority: int = 1
async def trigger_hook(self, *args, **kwargs) -> bool:
print(f"Trigger {args} {kwargs}")
return True
async def hook_run(self, *args, **kwargs):
print(f"Running {args} {kwargs}")
return args, kwargs
async def run_test():
print("Before running hook")
arg, kwarg = await run_hook(Trigger.SENDER, 2, 3, a=4, b=5)
print(f"After running hook {arg} {kwarg}")
import asyncio # noqa
asyncio.run(run_test())
pypi_1.0.0 publish
Break Change
Redis and MongoDB are no longer necessary.
Reconfigure environment variables.
Reinstall Python dependencies.
Docker deployment is currently untested.
Fixed most of the issues