Spaces:
Runtime error
Runtime error
Download examples/langchain-python/test.py from chasemcdo/hf_localai: direct link, hf CLI and curl.
- Browser
- Download file 194 Bytes
-
https://huggingface.co/spaces/chasemcdo/hf_localai/resolve/main/examples/langchain-python/test.py
- Command line
-
hf download hf://spaces/chasemcdo/hf_localai/examples/langchain-python/test.py
-
curl -L -o test.py https://huggingface.co/spaces/chasemcdo/hf_localai/resolve/main/examples/langchain-python/test.py
194 Bytes
| from langchain.llms import OpenAI | |
| llm = OpenAI(temperature=0.9,model_name="gpt-3.5-turbo") | |
| text = "What would be a good company name for a company that makes colorful socks?" | |
| print(llm(text)) | |