MCPcopy Create free account
hub / github.com/Forethought-Technologies/AutoChain / LLMResult

Class LLMResult

autochain/models/base.py:34–41  ·  view source on GitHub ↗

Class that contains all relevant information for an LLM Result.

Source from the content-addressed store, hash-verified

32
33
34class LLMResult(BaseModel):
35 """Class that contains all relevant information for an LLM Result."""
36
37 generations: List[Generation]
38 """List of the things generated. This is List[List[]] because
39 each input could have multiple generations."""
40 llm_output: Optional[dict] = None
41 """For arbitrary LLM provider specific output."""
42
43
44class EmbeddingResult(BaseModel):

Callers 2

_create_llm_resultMethod · 0.90
_create_llm_resultMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected