Skip to main content

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)

Source distribution for officelyTest 0.1.12
File Size Uploaded
officelytest-0.1.12.tar.gz 26.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for officelyTest 0.1.12
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page