talk
chat_with_file(path, prompt)
Chat with a file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str
|
The path to the file. |
required |
prompt
|
str
|
The prompt to the chatbot. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
The response from the chatbot. |
Source code in ttf/talk.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |