4343)
4444from ..._base_client import make_request_options
4545from ...types .project import Project
46- from .prompts .prompts import (
47- PromptsResource ,
48- AsyncPromptsResource ,
49- PromptsResourceWithRawResponse ,
50- AsyncPromptsResourceWithRawResponse ,
51- PromptsResourceWithStreamingResponse ,
52- AsyncPromptsResourceWithStreamingResponse ,
53- )
5446from .evaluators .evaluators import (
5547 EvaluatorsResource ,
5648 AsyncEvaluatorsResource ,
@@ -70,10 +62,6 @@ class ProjectsResource(SyncAPIResource):
7062 def optimizations (self ) -> OptimizationsResource :
7163 return OptimizationsResource (self ._client )
7264
73- @cached_property
74- def prompts (self ) -> PromptsResource :
75- return PromptsResource (self ._client )
76-
7765 @cached_property
7866 def evaluators (self ) -> EvaluatorsResource :
7967 return EvaluatorsResource (self ._client )
@@ -304,10 +292,6 @@ class AsyncProjectsResource(AsyncAPIResource):
304292 def optimizations (self ) -> AsyncOptimizationsResource :
305293 return AsyncOptimizationsResource (self ._client )
306294
307- @cached_property
308- def prompts (self ) -> AsyncPromptsResource :
309- return AsyncPromptsResource (self ._client )
310-
311295 @cached_property
312296 def evaluators (self ) -> AsyncEvaluatorsResource :
313297 return AsyncEvaluatorsResource (self ._client )
@@ -557,10 +541,6 @@ def __init__(self, projects: ProjectsResource) -> None:
557541 def optimizations (self ) -> OptimizationsResourceWithRawResponse :
558542 return OptimizationsResourceWithRawResponse (self ._projects .optimizations )
559543
560- @cached_property
561- def prompts (self ) -> PromptsResourceWithRawResponse :
562- return PromptsResourceWithRawResponse (self ._projects .prompts )
563-
564544 @cached_property
565545 def evaluators (self ) -> EvaluatorsResourceWithRawResponse :
566546 return EvaluatorsResourceWithRawResponse (self ._projects .evaluators )
@@ -598,10 +578,6 @@ def __init__(self, projects: AsyncProjectsResource) -> None:
598578 def optimizations (self ) -> AsyncOptimizationsResourceWithRawResponse :
599579 return AsyncOptimizationsResourceWithRawResponse (self ._projects .optimizations )
600580
601- @cached_property
602- def prompts (self ) -> AsyncPromptsResourceWithRawResponse :
603- return AsyncPromptsResourceWithRawResponse (self ._projects .prompts )
604-
605581 @cached_property
606582 def evaluators (self ) -> AsyncEvaluatorsResourceWithRawResponse :
607583 return AsyncEvaluatorsResourceWithRawResponse (self ._projects .evaluators )
@@ -639,10 +615,6 @@ def __init__(self, projects: ProjectsResource) -> None:
639615 def optimizations (self ) -> OptimizationsResourceWithStreamingResponse :
640616 return OptimizationsResourceWithStreamingResponse (self ._projects .optimizations )
641617
642- @cached_property
643- def prompts (self ) -> PromptsResourceWithStreamingResponse :
644- return PromptsResourceWithStreamingResponse (self ._projects .prompts )
645-
646618 @cached_property
647619 def evaluators (self ) -> EvaluatorsResourceWithStreamingResponse :
648620 return EvaluatorsResourceWithStreamingResponse (self ._projects .evaluators )
@@ -680,10 +652,6 @@ def __init__(self, projects: AsyncProjectsResource) -> None:
680652 def optimizations (self ) -> AsyncOptimizationsResourceWithStreamingResponse :
681653 return AsyncOptimizationsResourceWithStreamingResponse (self ._projects .optimizations )
682654
683- @cached_property
684- def prompts (self ) -> AsyncPromptsResourceWithStreamingResponse :
685- return AsyncPromptsResourceWithStreamingResponse (self ._projects .prompts )
686-
687655 @cached_property
688656 def evaluators (self ) -> AsyncEvaluatorsResourceWithStreamingResponse :
689657 return AsyncEvaluatorsResourceWithStreamingResponse (self ._projects .evaluators )
0 commit comments