Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated last year
0
Follow
Is it possible to query OpenAI with
Is it possible to query OpenAI with
Inactive
0
Follow
At a glance
R
Rust-Ninja-Sabi
last year
Β·
Is it possible to query OpenAI with LlamaIndex directly without using Rag?
a
R
4 comments
Share
Open in Discord
a
andrei
last year
Yeah, sure just see our LLM abstraction. We have one for OpenAI and you can call
complete
method on it.
R
Rust-Ninja-Sabi
last year
Do you have an example?
R
Rust-Ninja-Sabi
last year
Thanks I found it
from llama_index.llms import OpenAI
resp = OpenAI().complete("Paul Graham is ")
a
andrei
last year
perfect! yup
Add a reply
Sign up and join the conversation on Discord
Join on Discord