Public declaration syntax from forge-py/src/forge/core/config.py Original source SHA-256: f635578ffed23e7673dac184ad116436c88515e7b355bf679de11e2ee0958dbd Function bodies and constant values are omitted. This is not the complete implementation. Source line 20 class GenerateOptions() Source line 46 def with_temperature(self, temperature: float) -> GenerateOptions Source line 58 def with_max_tokens(self, max_tokens: int) -> GenerateOptions Source line 70 def with_top_p(self, top_p: float) -> GenerateOptions Source line 82 def with_stop_sequences(self, sequences: list[str]) -> GenerateOptions Source line 94 def with_frequency_penalty(self, penalty: float) -> GenerateOptions Source line 106 def with_presence_penalty(self, penalty: float) -> GenerateOptions Source line 118 def with_seed(self, seed: int) -> GenerateOptions Source line 130 def with_output_schema(self, schema: JsonSchema) -> GenerateOptions Source line 142 def to_dict(self) -> dict[str, Any] Source line 168 def from_dict(data: dict[str, Any]) -> GenerateOptions Source line 189 def to_json(self) -> str Source line 194 def from_json(data: str) -> GenerateOptions Source line 200 class EmbedOptions() Source line 212 def with_model(self, model: str) -> EmbedOptions Source line 224 def with_dimensions(self, dimensions: int) -> EmbedOptions Source line 236 def to_dict(self) -> dict[str, Any] Source line 250 def from_dict(data: dict[str, Any]) -> EmbedOptions