This API does not support streaming yet.

Sentience repository is open-source

1

Sign up to get an API key

  1. Create an account here
  2. Create an API key on the dashboard
2

Install the Python SDK

pip install sentience
3

Call the verified inference API

Run the following code

4

Get history of all your verified inference calls

from typing import List
import sentience
from sentience.history import GaladrielChatHistory

history: List[GaladrielChatHistory] = sentience.get_history(
    galadriel_api_key="Bearer GALADRIEL_API_KEY", filter="mine"
)
5

Get history of all verified inference calls

from typing import List
import sentience
from sentience.history import GaladrielChatHistory

history: List[GaladrielChatHistory] = sentience.get_history(
    galadriel_api_key="Bearer GALADRIEL_API_KEY"
)
6

Get history for one verified inference call

import sentience
from sentience.history import GaladrielChatHistory

item: GaladrielChatHistory = sentience.get_by_hash(
    galadriel_api_key="Bearer GALADRIEL_API_KEY",
    # example hash, replace with your own:
    hash="922e575ef7f07449977001c1caaf78fb6ad8b731cd625434f9215087a6c2b39f"
)
7

(Optional) Open the explorer to see the history

Explorer shows all the verified inference calls done on Galadriel platform.

Explorer Detailed View shows all the details for one verified inference call

What’s next?