Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

officelyTest-0.1.12-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

Details for the file officelytest-0.1.12.tar.gz.

File metadata

  • Download URL: officelytest-0.1.12.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for officelytest-0.1.12.tar.gz
Algorithm Hash digest
SHA256 256887963317139e252950c0c66ccdf57c6889bdf97b9b4177e41aeafb0e7c12
MD5 c7e382ac90f7831a2d5bf2be2dda5e12
BLAKE2b-256 6bbdc9f23ff392f3b453e3f37f279e8c6cae1935b8b2a62b6f6a5b262672a571

See more details on using hashes here.

File details

Details for the file officelyTest-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: officelyTest-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 35.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for officelyTest-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 76862ff3540672777a2c91c3ef0fb2c60506cb5cd99ed53ea3a9e6a399a4b280
MD5 5c531a2a4213dbce63c930b77b8f9c39
BLAKE2b-256 50f5d5ab540f264b5ca66105af6c99dd18dbdfd6fdc6be0e6042d45a6bf6fe08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page