Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c1387af

Browse files
esniblemandel
authored andcommitted
Fully qualify import (#930)
Signed-off-by: Ed Snible <[email protected]>
1 parent e82da06 commit c1387af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/rag/rag_library1.pdl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ text:
1010
return:
1111
lang: python
1212
code: |
13-
import rag
13+
import examples.rag.rag as rag
1414
result = rag.parse(filename, chunk_size, chunk_overlap)
1515
- def: rag_index
1616
function:
@@ -22,7 +22,7 @@ text:
2222
return:
2323
lang: python
2424
code: |
25-
import rag
25+
import examples.rag.rag as rag
2626
result = rag.rag_index(inp, encoder_model, embed_dimension, database_name, collection_name)
2727
- def: rag_retrieve
2828
function:
@@ -34,5 +34,5 @@ text:
3434
return:
3535
lang: python
3636
code: |
37-
import rag
37+
import examples.rag.rag as rag
3838
result = rag.rag_retrieve(inp, encoder_model, limit, database_name, collection_name)

0 commit comments

Comments
 (0)