mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Merge pull request #91 from crewAIInc/fix/dalle-docs
docs: fix issue on Dalle tool docs
This commit is contained in:
@@ -27,10 +27,10 @@ If needed you can also tweak the parameters of the DALL-E model by passing them
|
|||||||
```python
|
```python
|
||||||
from crewai_tools import DallETool
|
from crewai_tools import DallETool
|
||||||
|
|
||||||
dalle_tool = DallETool(model: str = "dall-e-3",
|
dalle_tool = DallETool(model="dall-e-3",
|
||||||
size: str = "1024x1024",
|
size="1024x1024",
|
||||||
quality: str = "standard",
|
quality="standard",
|
||||||
n: int = 1)
|
n=1)
|
||||||
|
|
||||||
Agent(
|
Agent(
|
||||||
...
|
...
|
||||||
@@ -38,4 +38,4 @@ Agent(
|
|||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
The parameter are based on the `client.images.generate` method from the OpenAI API. For more information on the parameters, please refer to the [OpenAI API documentation](https://platform.openai.com/docs/guides/images/introduction?lang=python).
|
The parameters are based on the `client.images.generate` method from the OpenAI API. For more information on the parameters, please refer to the [OpenAI API documentation](https://platform.openai.com/docs/guides/images/introduction?lang=python).
|
||||||
|
|||||||
Reference in New Issue
Block a user