File size: 1,357 Bytes
2304e6f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
INFO: Extracted 781 characters from fixture
Text preview: Sample Book Page - Introduction
Chapter 1: Introduction
This is the first paragraph of the introduction. It provides an overview of the topic.
The second paragraph discusses the background and context...
INFO: Chunked into 2 segments
First chunk: Sample Book Page - Introduction
Chapter 1: Introduction
This is the first paragraph of the introduct...
INFO: HTTP Request: POST https://api.cohere.com/v2/embed "HTTP/1.1 200 OK"
INFO: Generated 6 embeddings
Embedding dimension: 2
INFO: HTTP Request: GET https://d27e55fe-c28d-4275-81d7-7eff807c14a5.europe-west3-0.gcp.cloud.qdrant.io:6333 "HTTP/1.1 200 OK"
INFO: HTTP Request: GET https://d27e55fe-c28d-4275-81d7-7eff807c14a5.europe-west3-0.gcp.cloud.qdrant.io:6333/collections "HTTP/1.1 200 OK"
INFO: Collection 'book_embeddings' already exists
ERROR: Test failed: 'PosixPath' object has no attribute 'path'
Traceback (most recent call last):
  File "/mnt/e/7. Low Code Agentic AI/Hackathon I/humanoid-ai-robotics-book-chatbot/backend/test_local.py", line 93, in <module>
    test_with_fixture()
  File "/mnt/e/7. Low Code Agentic AI/Hackathon I/humanoid-ai-robotics-book-chatbot/backend/test_local.py", line 67, in test_with_fixture
    'title': Path(url).path,
             ^^^^^^^^^^^^^^
AttributeError: 'PosixPath' object has no attribute 'path'