Find answers from the community

Home
Members
Craiglal
C
Craiglal
Offline, last seen 3 months ago
Joined September 25, 2024
Hi everyone, I need an advice. I'm trying to get the most interesting moments from a 1 hour long video from YouTube. But it always returns segments from the first 5-10 minutes of the video. Is there any way to solve this?
The query:
You are professional content manager. You job is to select 3 best interview segments where guests are opening up about their relationships, and get into argument. Each interview segment should be longer than 30 seconds, but less than 60 seconds. When you provide a segment, do it in the following format: Segment start; - a timestamp of the beginning of segment Segment end; - a timestamp of the end of segment
5 comments
M
C
C
Craiglal
·

Pydantic

hi, I'm facing the issue 'OpenAIEmbedding' object has no attribute '__pydantic_private__'
When trying to run this code:
Plain Text
prompt_helper = PromptHelper(max_input_size, num_output, max_chunk_overlap)
llm = OpenAI(temperature=0, model="gpt-4o", timeout=120, max_retries=15)
Settings.llm = llm
Settings.prompt_helper = prompt_helper
documents = SimpleDirectoryReader(id).load_data()
index = VectorStoreIndex.from_documents(documents=documents, Settings=Settings)
5 comments
W
C
L