<jupyter_start><jupyter_text>Interactive Client for Tensor ServerAccepts from following API calls...* URL/ -- Simple welcome message. Add Help text in future* URL/tensor -- List the tensor files available, along with info (like shape)* URL/tensor?name=asdf -- Dump the value of the 'asdf' tensor, preferably in binary<jupyter_code>import requests

url = "http://localhost:5000/"<jupyter_output><empty_output><jupyter_text>Return help info on using the Tensor Server<jupyter_code>r = requests.get(url) 
if r.status_code == 200:
    print(f"Success: {r.text}")
else:
    print(f"Failure: {r.text}")<jupyter_output>Success: Tensor Server - WELCOME/n<jupyter_text>Return list of available tensors and their info<jupyter_code>r = requests.get(url + '/tensor')
if r.status_code == 200:
    print(f"Success: {r.text}")
else:
    print(f"Failure: {r.text}")<jupyter_output>Success: [
  {
    "name": "tornado3d", 
    "shape": "120,120,120"
  }, 
  {
    "name": "field2", 
    "shape": "12,12,12"
  }
]<jupyter_text>Return dump of tensor value for specific tensor<jupyter_code>name = 'tornado3d'
r = requests.get(url + '/tensor' + '?name=' + name)
if r.status_code == 200:
    print(f"Success: {r.text}")
else:
    print(f"Failure: {r.text}")<jupyter_output>Success: [
  [
    2, 
    2, 
    2, 
    3
  ], 
  12, 
  34, 
  45
]
{'fraction_non_alphanumeric': 0.15128593040847202, 'fraction_numerical': 0.031013615733736764, 'mean_word_length': 4.127906976744186, 'pattern_counts': {'":': 4, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '248434', 'license': 'MIT', 'n_tokens_mistral': 522, 'n_tokens_neox': 492, 'n_words': 116, 'path': 'server/TensorClientTester.ipynb', 'repo_name': 'Hackathorn/Geo-Science-Force-Field-Viz', 'size': '1322'}