Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit f657996

Browse files
authored
fix: the python sdk lacks docstring documentation (#149)
* fix: clean doc * fix: unify doc * fix: async doc * fix: refactor docstrings to abstract methods * fix: remove unused import * fix: revamp doc * fix: imports helpers * fix: imports helpers * fix: add init to helpers module
1 parent 46e1c3e commit f657996

24 files changed

+2966
-2727
lines changed

literalai/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from literalai.client import AsyncLiteralClient, LiteralClient
22
from literalai.evaluation.dataset import Dataset
33
from literalai.evaluation.dataset_item import DatasetItem
4+
from literalai.evaluation.dataset_experiment import DatasetExperiment, DatasetExperimentItem
5+
from literalai.prompt_engineering.prompt import Prompt
46
from literalai.my_types import * # noqa
57
from literalai.observability.generation import (
68
BaseGeneration,
@@ -27,5 +29,8 @@
2729
"Dataset",
2830
"Attachment",
2931
"DatasetItem",
32+
"DatasetExperiment",
33+
"DatasetExperimentItem",
34+
"Prompt",
3035
"__version__",
3136
]

literalai/api/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Literal AI API
2+
3+
This module contains the APIs to directly interact with the Literal AI platform.
4+
5+
`BaseLiteralAPI` has all the methods prototypes and is the source of truth when it comes to documentation.
6+
7+
Inheriting from `BaseLiteralAPI` are `LiteralAPI` and `AsyncLiteralAPI`, the synchronous and asynchronous APIs respectively.

0 commit comments

Comments
 (0)