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}")
Metadata
Release files for officelyTest 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| officelytest-0.1.12.tar.gz | 26.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| officelyTest-0.1.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.0 kB
Release files / officelytest-0.1.12.tar.gz
| Download URL | officelytest-0.1.12.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
256887963317139e252950c0c66ccdf57c6889bdf97b9b4177e41aeafb0e7c12
|
|
BLAKE2b-256 checksum How to use checksums |
6bbdc9f23ff392f3b453e3f37f279e8c6cae1935b8b2a62b6f6a5b262672a571
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.8
|
Release files / officelyTest-0.1.12-py3-none-any.whl
| Download URL | officelyTest-0.1.12-py3-none-any.whl |
|---|---|
| Size | 35.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76862ff3540672777a2c91c3ef0fb2c60506cb5cd99ed53ea3a9e6a399a4b280
|
|
BLAKE2b-256 checksum How to use checksums |
50f5d5ab540f264b5ca66105af6c99dd18dbdfd6fdc6be0e6042d45a6bf6fe08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.8
|