A brief description of your package
Project description
import json from typing import List from officelyTest import invokeTeam, IHistory, MessageType
def get_team(path:str)->dict: with open(path, "r") as f: return json.load(f)
if name == "main": team = get_team("team.json") verbose = True chat_history:List[IHistory] = []
while True:
query = input("User: ")
res = invokeTeam(team, verbose, chat_history, query)
chat_history.append(IHistory(text=query, type=MessageType.INBOUND))
chat_history.append(IHistory(text=res, type=MessageType.OUTBOUND))
print(f"AI:{res}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
officelytest-0.1.12.tar.gz
(26.2 kB
view hashes)
Built Distribution
Close
Hashes for officelyTest-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76862ff3540672777a2c91c3ef0fb2c60506cb5cd99ed53ea3a9e6a399a4b280 |
|
MD5 | 5c531a2a4213dbce63c930b77b8f9c39 |
|
BLAKE2b-256 | 50f5d5ab540f264b5ca66105af6c99dd18dbdfd6fdc6be0e6042d45a6bf6fe08 |