Types:
from prompt_foundry_python_sdk.types import CompletionCreateResponse
Methods:
client.completion.create(id, **params) -> CompletionCreateResponse
Types:
from prompt_foundry_python_sdk.types import (
Parameters,
PromptConfiguration,
PromptListResponse,
PromptDeleteResponse,
)
Methods:
client.prompts.create(**params) -> PromptConfiguration
client.prompts.update(id, **params) -> PromptConfiguration
client.prompts.list() -> PromptListResponse
client.prompts.delete(id) -> PromptDeleteResponse
client.prompts.get(id) -> PromptConfiguration
client.prompts.get_parameters(id, **params) -> Parameters
Types:
from prompt_foundry_python_sdk.types import Tool, ToolListResponse, ToolDeleteResponse
Methods:
client.tools.create(**params) -> Tool
client.tools.update(id, **params) -> Tool
client.tools.list() -> ToolListResponse
client.tools.delete(id) -> ToolDeleteResponse
client.tools.get(id) -> Tool
Types:
from prompt_foundry_python_sdk.types import (
EvaluationAssertion,
EvaluationAssertionListResponse,
EvaluationAssertionDeleteResponse,
)
Methods:
client.evaluation_assertions.create(**params) -> EvaluationAssertion
client.evaluation_assertions.update(id, **params) -> EvaluationAssertion
client.evaluation_assertions.list(**params) -> EvaluationAssertionListResponse
client.evaluation_assertions.delete(id) -> EvaluationAssertionDeleteResponse
client.evaluation_assertions.get(id) -> EvaluationAssertion
Types:
from prompt_foundry_python_sdk.types import (
Evaluation,
EvaluationListResponse,
EvaluationDeleteResponse,
)
Methods:
client.evaluations.create(**params) -> Evaluation
client.evaluations.update(id, **params) -> Evaluation
client.evaluations.list() -> EvaluationListResponse
client.evaluations.delete(id) -> EvaluationDeleteResponse
client.evaluations.get(id) -> Evaluation